mirror of
https://github.com/transistorfet/moa.git
synced 2024-11-29 11:49:36 +00:00
19 lines
433 B
TOML
19 lines
433 B
TOML
[package]
|
|
name = "moa_common"
|
|
version = "0.1.0"
|
|
edition = "2021"
|
|
|
|
[features]
|
|
tty = ["nix"]
|
|
audio = ["cpal"]
|
|
|
|
[dependencies]
|
|
moa_core = { path = "../../core" }
|
|
nix = { version = "0.25", optional = true }
|
|
|
|
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
|
|
cpal = { version = "0.14", optional = true }
|
|
|
|
[target.'cfg(target_arch = "wasm32")'.dependencies]
|
|
cpal = { version = "0.14", optional = true, features = ["wasm-bindgen"] }
|