mmp/Cargo.toml

29 lines
743 B
TOML

[package]
name = "mmp"
version = "0.1.0"
edition = "2021"
[lib]
[[bin]]
name = "mmp-port"
path = "src/port/main.rs"
required-features = ["port"]
[[bin]]
name = "mmp-server"
path = "src/server/main.rs"
required-features = ["server"]
[dependencies]
midi-msg = { version = "0.7", optional = true }
midir = { version = "0.10", optional = true }
tokio = { version = "1.41", features = ["net", "rt", "macros", "sync"], optional = true }
tokio-tungstenite = { version = "0.24", optional = true }
futures-util = { version = "0.3", optional = true }
serde_json = { version = "1.0", optional = true }
[features]
default = []
port = ["dep:midi-msg", "dep:midir"]
server = ["dep:tokio", "dep:tokio-tungstenite", "dep:futures-util", "dep:serde_json"]