-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathCargo.toml
More file actions
44 lines (39 loc) · 955 Bytes
/
Cargo.toml
File metadata and controls
44 lines (39 loc) · 955 Bytes
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
[workspace]
members = ["example"]
[package]
name = "geng-web-audio-api"
description = "web audio api that works both native and on web"
license = "MIT"
repository = "https://github.com/geng-engine/web-audio-api"
version = "0.2.0"
authors = ["kuviman"]
edition = "2021"
[dependencies]
log = "0.4"
anyhow = "1"
futures = "0.3"
thiserror = "2"
serde = { version = "1", features = ["derive"] }
[target.'cfg(target_arch = "wasm32")'.dependencies]
js-sys = "0.3"
web-sys = { version = "0.3", features = [
"AudioContext",
"AudioNode",
"AudioListener",
"PannerNode",
"AudioBuffer",
"AudioBufferSourceNode",
"GainNode",
"AudioParam",
"AudioDestinationNode",
"DistanceModelType",
"BiquadFilterNode",
"BiquadFilterType",
] }
wasm-bindgen = "0.2"
wasm-bindgen-futures = "0.4"
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
web-audio-api = "1"
[dev-dependencies]
batbox-time = "0.16"
batbox-file = "0.16"