2021-12-07 03:52:04 +00:00
|
|
|
[package]
|
2024-02-25 03:26:28 +00:00
|
|
|
name = "moa-common"
|
2021-12-07 03:52:04 +00:00
|
|
|
version = "0.1.0"
|
2022-09-30 02:55:12 +00:00
|
|
|
edition = "2021"
|
2021-12-07 03:52:04 +00:00
|
|
|
|
|
|
|
[features]
|
|
|
|
tty = ["nix"]
|
2021-12-12 23:20:09 +00:00
|
|
|
audio = ["cpal"]
|
2021-12-07 03:52:04 +00:00
|
|
|
|
|
|
|
[dependencies]
|
2024-02-24 21:02:09 +00:00
|
|
|
log = "0.4"
|
2024-02-25 03:16:46 +00:00
|
|
|
femtos = "0.1"
|
2024-02-25 03:26:28 +00:00
|
|
|
moa-core = { path = "../../core" }
|
2024-03-02 05:17:09 +00:00
|
|
|
moa-host = { path = "../../libraries/host" }
|
2022-09-30 02:55:12 +00:00
|
|
|
nix = { version = "0.25", optional = true }
|
2022-10-11 17:28:59 +00:00
|
|
|
|
|
|
|
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
|
2022-09-30 02:55:12 +00:00
|
|
|
cpal = { version = "0.14", optional = true }
|
2021-12-07 03:52:04 +00:00
|
|
|
|
2022-10-11 17:28:59 +00:00
|
|
|
[target.'cfg(target_arch = "wasm32")'.dependencies]
|
|
|
|
cpal = { version = "0.14", optional = true, features = ["wasm-bindgen"] }
|