-
Notifications
You must be signed in to change notification settings - Fork 54
/
Cargo.toml
120 lines (107 loc) · 2.72 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
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
[package]
name = "bevy_kira_audio"
version = "0.21.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.15.0", default-features = false, features = ["bevy_asset"] }
anyhow = "1.0"
uuid = { version = "1", features = ["fast-rng"] }
kira = { version = "0.8.7", 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.15.0"
default-features = false
# default features minus "bevy_audio" and "vorbis"
features = [
"android-game-activity",
"animation",
"bevy_asset",
"bevy_color",
"bevy_core_pipeline",
"bevy_gilrs",
"bevy_gizmos",
"bevy_gltf",
"bevy_mesh_picking_backend",
"bevy_pbr",
"bevy_picking",
"bevy_render",
"bevy_scene",
"bevy_sprite",
"bevy_sprite_picking_backend",
"bevy_state",
"bevy_text",
"bevy_ui",
"bevy_ui_picking_backend",
"bevy_window",
"bevy_winit",
"custom_cursor",
"default_font",
"hdr",
"multi_threaded",
"png",
"smaa_luts",
"sysinfo_plugin",
"tonemapping_luts",
"webgl2",
"x11",
]
[[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 = "spatial"
path = "examples/spatial.rs"
required-features = ["ogg"]