forked from dtaralla/rrise
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
137 lines (124 loc) · 3.14 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
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
[package]
name = "rrise"
version = "0.2.1"
edition = "2021"
authors = ["David Taralla <[email protected]> & Contributors to the Rrise project"]
description = "A rust binding for Wwise"
repository = "https://github.com/dtaralla/rrise"
documentation = "https://dtaralla.github.io/rrise/"
readme = "README.md"
keywords = ["library", "sound", "3D", "wwise"]
categories = ["multimedia", "game-development"]
license-file = "LICENSE"
exclude = [
"/examples/WwiseProject/Originals",
"/videos",
]
[workspace]
members = ["rrise-headers"]
[patch.crates-io]
rrise-headers = { path = "rrise-headers" }
[dependencies]
paste = "1.0.7"
log = "0.4.16"
ctrlc = { version = "3.2.1", optional = true }
simple_logger = { version = "2.1.0", optional = true }
lerp = { version = "0.4.0", optional = true }
crossbeam-channel = { version = "0.5", optional = true }
bevy = { version = "0.8.0", optional = true, default-features = false, features = ["render", "bevy_asset"] }
raw-window-handle = { version = "0.4", optional = true }
rrise-headers = { version = "0.2", optional = true }
[build-dependencies]
bindgen = "0.59.2"
cc = { version = "1.0.73", features = ["parallel"] }
paste = "1.0.7"
[target.'cfg(windows)'.build-dependencies.winreg]
version = "0.10.1"
[target.'cfg(windows)'.dependencies.bevy]
version = "0.8.0"
optional = true
default-features = false
features = ["bevy_winit", "bevy_gltf"]
[target.'cfg(target_os = "linux")'.dependencies.bevy]
version = "0.8.0"
optional = true
default-features = false
features = ["x11"]
[lib]
name = "rrise"
path = "src/rrise.rs"
crate-type = ["dylib", "rlib"]
[features]
default = ["AkVorbisDecoder", "AkMeterFX"]
AkVorbisDecoder = []
AkOpusDecoder = ["AkOggOpusDecoder", "AkWemOpusDecoder"]
AkAudioInputSource = []
AkCompressorFX = []
AkDelayFX = []
AkExpanderFX = []
AkFlangerFX = []
AkGainFX = []
AkGuitarDistortionFX = []
AkHarmonizerFX = []
AkMatrixReverbFX = []
AkMeterFX = []
AkParametricEQFX = []
AkPeakLimiterFX = []
AkPitchShifterFX = []
AkRecorderFX = []
AkRoomVerbFX = []
AkSilenceSource = []
AkSineSource = []
AkStereoDelayFX = []
AkSynthOneSource = []
AkTimeStretchFX = []
AkToneSource = []
AkTremoloFX = []
# Internal features, don't enable independantly!
AkOggOpusDecoder = []
AkWemOpusDecoder = []
examples = ["ctrlc", "simple_logger", "lerp"]
[[example]]
name = "looping_event"
required-features = ["examples"]
[[example]]
name = "doppler"
required-features = ["examples", "AkSineSource"]
[[example]]
name = "bevy_music_visualizer"
required-features = [
"rrise-headers",
"AkMeterFX",
"AkParametricEQFX",
"bevy",
"crossbeam-channel",
"raw-window-handle"
]
[[test]]
name = "static_link_all"
required-features = [
"AkVorbisDecoder",
"AkOpusDecoder",
"AkAudioInputSource",
"AkCompressorFX",
"AkDelayFX",
"AkExpanderFX",
"AkFlangerFX",
"AkGainFX",
"AkGuitarDistortionFX",
"AkHarmonizerFX",
"AkMatrixReverbFX",
"AkMeterFX",
"AkParametricEQFX",
"AkPeakLimiterFX",
"AkPitchShifterFX",
"AkRecorderFX",
"AkRoomVerbFX",
"AkSilenceSource",
"AkSineSource",
"AkStereoDelayFX",
"AkSynthOneSource",
"AkTimeStretchFX",
"AkToneSource",
"AkTremoloFX"
]