-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathCargo.toml
46 lines (36 loc) · 1.05 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
[package]
name = "audio-engine"
description = "A audio playback library"
version = "0.4.5"
authors = ["Rodrigo Batista de Moraes <[email protected]>"]
edition = "2018"
repository = "https://github.com/Rodrigodd/audio-engine"
license = "MIT OR Apache-2.0"
readme = "README.md"
keywords = ["audio", "playback", "wav", "ogg"]
categories = ["multimedia::audio"]
exclude = ["examples/"]
build = "build.rs"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[features]
ogg = ["dep:lewton"]
wav = ["dep:hound"]
default = ["ogg", "wav"]
[[example]]
name = "music"
crate-type = ["cdylib"]
path = "examples/music.rs"
[dependencies]
gcd = "2"
cpal = { version = "0.14.0", features = ["wasm-bindgen"] }
log = "0.4.17"
lewton = { version = "0.10", optional = true }
hound = { version = "3.5", optional = true }
[target.'cfg(target_os = "android")'.dependencies]
ndk-glue = { version = "0.6", features = ["logger"] }
[dev-dependencies]
criterion = "0.3"
env_logger = "0.9.0"
[[bench]]
name = "my_benchmark"
harness = false