2023-03-28 22:49:59 +02:00
|
|
|
[package]
|
|
|
|
name = "musichoard"
|
|
|
|
version = "0.1.0"
|
|
|
|
edition = "2021"
|
|
|
|
|
|
|
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
|
|
|
|
|
|
|
[dependencies]
|
2023-04-27 20:09:45 +02:00
|
|
|
crossterm = { version = "0.26.1", optional = true}
|
|
|
|
openssh = { version = "0.9.9", features = ["native-mux"], default-features = false, optional = true}
|
|
|
|
ratatui = { version = "0.20.1", optional = true}
|
2023-04-13 14:09:59 +02:00
|
|
|
serde = { version = "1.0.159", features = ["derive"] }
|
2023-04-27 20:09:45 +02:00
|
|
|
serde_json = { version = "1.0.95", optional = true}
|
|
|
|
structopt = { version = "0.3.26", optional = true}
|
|
|
|
tokio = { version = "1.27.0", features = ["rt"], optional = true}
|
2023-04-13 14:09:59 +02:00
|
|
|
uuid = { version = "1.3.0", features = ["serde"] }
|
2023-03-29 08:37:01 +02:00
|
|
|
|
|
|
|
[dev-dependencies]
|
2023-04-13 14:09:59 +02:00
|
|
|
mockall = "0.11.4"
|
|
|
|
once_cell = "1.17.1"
|
|
|
|
tempfile = "3.5.0"
|
2023-04-27 20:09:45 +02:00
|
|
|
|
|
|
|
[features]
|
2023-05-06 11:38:10 +02:00
|
|
|
default = ["database-json", "library-beets"]
|
2023-04-27 20:09:45 +02:00
|
|
|
database-json = ["serde_json"]
|
2023-05-06 11:38:10 +02:00
|
|
|
library-beets = []
|
|
|
|
ssh-library = ["openssh", "tokio"]
|
|
|
|
tui = ["structopt", "crossterm", "ratatui"]
|
2023-04-27 20:09:45 +02:00
|
|
|
|
|
|
|
[[bin]]
|
|
|
|
name = "musichoard"
|
2023-05-06 11:38:10 +02:00
|
|
|
required-features = ["database-json", "library-beets", "ssh-library", "tui"]
|
2023-04-27 20:09:45 +02:00
|
|
|
|
|
|
|
[package.metadata.docs.rs]
|
|
|
|
all-features = true
|