forked from NiklasEi/bevy_kira_audio
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
103 lines (90 loc) · 2.32 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
[package]
name = "bevy_kira_audio"
version = "0.18.0"
authors = ["Niklas Eicker <[email protected]>"]
edition = "2021"
license = "MIT OR Apache-2.0"
description = "Bevy plugin for dynamic audio"
repository = "https://github.com/NiklasEi/bevy_kira_audio"
homepage = "https://github.com/NiklasEi/bevy_kira_audio"
documentation = "https://docs.rs/bevy_kira_audio"
keywords = ["bevy", "gamedev", "audio", "music"]
categories = ["game-development", "multimedia::audio"]
readme = "./README.md"
rust-version = "1.67"
[features]
default = ["ogg"]
flac = ["kira/flac"]
mp3 = ["kira/mp3"]
ogg = ["kira/ogg"]
wav = ["kira/wav"]
settings_loader = ["dep:ron", "dep:serde", "kira/serde"]
[dependencies]
bevy = { version = "0.12", default-features = false, features = ["bevy_asset"] }
anyhow = "1.0"
uuid = { version = "1", features = ["fast-rng"] }
kira = { version = "0.8", default-features = false, features = ["cpal"] }
ron = { version = "0.8", optional = true }
serde = { version = "1.0", features = ["derive"], optional = true }
parking_lot = "0.12"
thiserror = "1.0"
[dev-dependencies.bevy]
version = "0.12"
default-features = false
features = [
"bevy_asset",
"bevy_winit",
"bevy_render",
"x11",
"bevy_ui",
"bevy_text",
"bevy_core_pipeline",
"bevy_sprite",
"bevy_gltf",
"bevy_scene",
"bevy_pbr",
"tonemapping_luts",
"ktx2",
"zstd",
"multi-threaded"
]
[[example]]
name = "basic"
path = "examples/basic.rs"
required-features = ["ogg"]
[[example]]
name = "custom_channel"
path = "examples/custom_channel.rs"
required-features = ["ogg"]
[[example]]
name = "multiple_channels"
path = "examples/multiple_channels.rs"
required-features = ["ogg"]
[[example]]
name = "status"
path = "examples/status.rs"
required-features = ["ogg"]
[[example]]
name = "settings_loader"
path = "examples/settings_loader.rs"
required-features = ["ogg", "settings_loader"]
[[example]]
name = "stress_test"
path = "examples/stress_test.rs"
required-features = ["ogg"]
[[example]]
name = "settings"
path = "examples/settings.rs"
required-features = ["ogg"]
[[example]]
name = "instance_control"
path = "examples/instance_control.rs"
required-features = ["ogg"]
[[example]]
name = "channel_control"
path = "examples/channel_control.rs"
required-features = ["ogg"]
[[example]]
name = "spacial"
path = "examples/spacial.rs"
required-features = ["ogg"]