2020-09-02 15:46:01 +00:00
|
|
|
[package]
|
|
|
|
name = "audioview"
|
|
|
|
version = "0.1.0"
|
|
|
|
authors = ["Rob Watson <rob@netflux.io>"]
|
|
|
|
edition = "2018"
|
|
|
|
|
|
|
|
[lib]
|
|
|
|
crate-type = ["cdylib", "rlib"]
|
|
|
|
|
|
|
|
[dependencies]
|
|
|
|
yew = "0.17"
|
2020-09-07 17:50:06 +00:00
|
|
|
#yew = { path = "/home/rob/dev/yew/yew" }
|
2020-09-05 12:33:06 +00:00
|
|
|
yewtil = "0.3.1"
|
2020-09-02 15:46:01 +00:00
|
|
|
wasm-bindgen = "0.2"
|
2020-09-04 11:42:16 +00:00
|
|
|
js-sys = "0.3.44"
|
|
|
|
futures = "0.3.5"
|
2020-09-09 15:41:40 +00:00
|
|
|
cpal = { version = "0.12.1", features = ["wasm-bindgen"] }
|
2020-09-04 11:42:16 +00:00
|
|
|
wasm-bindgen-futures = "0.4"
|
|
|
|
console_error_panic_hook = "0.1.6"
|
|
|
|
|
|
|
|
[dependencies.web-sys]
|
|
|
|
version = "0.3.44"
|
|
|
|
features = [
|
|
|
|
"console",
|
|
|
|
"AudioContext",
|
2020-09-05 22:02:19 +00:00
|
|
|
"AudioBuffer",
|
2020-09-07 17:50:06 +00:00
|
|
|
"HtmlCanvasElement",
|
2020-09-08 23:25:47 +00:00
|
|
|
"CanvasRenderingContext2d",
|
2020-09-04 11:42:16 +00:00
|
|
|
]
|
2020-09-09 15:41:40 +00:00
|
|
|
|
|
|
|
[profile.release]
|
|
|
|
lto = true
|
|
|
|
|
|
|
|
# TODO: add wee_alloc
|