2021-12-06 19:52:04 -08:00
|
|
|
[package]
|
2022-09-24 23:14:03 -07:00
|
|
|
name = "moa_common"
|
2021-12-06 19:52:04 -08:00
|
|
|
version = "0.1.0"
|
2022-09-29 19:55:12 -07:00
|
|
|
edition = "2021"
|
2021-12-06 19:52:04 -08:00
|
|
|
|
|
|
|
[features]
|
|
|
|
tty = ["nix"]
|
2021-12-12 15:20:09 -08:00
|
|
|
audio = ["cpal"]
|
2021-12-06 19:52:04 -08:00
|
|
|
|
|
|
|
[dependencies]
|
2022-09-24 23:14:03 -07:00
|
|
|
moa_core = { path = "../../core" }
|
2022-09-29 19:55:12 -07:00
|
|
|
nix = { version = "0.25", optional = true }
|
2022-10-11 10:28:59 -07:00
|
|
|
|
|
|
|
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
|
2022-09-29 19:55:12 -07:00
|
|
|
cpal = { version = "0.14", optional = true }
|
2021-12-06 19:52:04 -08:00
|
|
|
|
2022-10-11 10:28:59 -07:00
|
|
|
[target.'cfg(target_arch = "wasm32")'.dependencies]
|
|
|
|
cpal = { version = "0.14", optional = true, features = ["wasm-bindgen"] }
|