mmp/Cargo.toml

30 lines
743 B
TOML
Raw Normal View History

2024-11-10 01:59:32 +01:00
[package]
name = "mmp"
version = "0.1.0"
edition = "2021"
[lib]
2024-11-10 02:00:31 +01:00
[[bin]]
name = "mmp-port"
path = "src/port/main.rs"
required-features = ["port"]
2024-11-10 02:00:51 +01:00
[[bin]]
name = "mmp-server"
path = "src/server/main.rs"
required-features = ["server"]
2024-11-10 02:00:31 +01:00
[dependencies]
midi-msg = { version = "0.7", optional = true }
midir = { version = "0.10", optional = true }
2024-11-10 02:00:51 +01:00
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 }
2024-11-10 02:00:31 +01:00
[features]
default = []
port = ["dep:midi-msg", "dep:midir"]
2024-11-10 02:00:51 +01:00
server = ["dep:tokio", "dep:tokio-tungstenite", "dep:futures-util", "dep:serde_json"]