35 lines
625 B
TOML
35 lines
625 B
TOML
[package]
|
|
name = "audioview"
|
|
version = "0.1.0"
|
|
authors = ["Rob Watson <rob@netflux.io>"]
|
|
edition = "2018"
|
|
|
|
[lib]
|
|
crate-type = ["cdylib", "rlib"]
|
|
|
|
[dependencies]
|
|
yew = "0.17"
|
|
#yew = { path = "/home/rob/dev/yew/yew" }
|
|
yewtil = "0.3.1"
|
|
wasm-bindgen = "0.2"
|
|
js-sys = "0.3.44"
|
|
futures = "0.3.5"
|
|
cpal = { version = "0.12.1", features = ["wasm-bindgen"] }
|
|
wasm-bindgen-futures = "0.4"
|
|
console_error_panic_hook = "0.1.6"
|
|
|
|
[dependencies.web-sys]
|
|
version = "0.3.44"
|
|
features = [
|
|
"console",
|
|
"AudioContext",
|
|
"AudioBuffer",
|
|
"HtmlCanvasElement",
|
|
"CanvasRenderingContext2d",
|
|
]
|
|
|
|
[profile.release]
|
|
lto = true
|
|
|
|
# TODO: add wee_alloc
|