2023-03-28 22:49:59 +02:00
|
|
|
[package]
|
|
|
|
name = "musichoard"
|
2024-02-19 20:58:43 +01:00
|
|
|
version = "0.2.0"
|
2023-03-28 22:49:59 +02:00
|
|
|
edition = "2021"
|
|
|
|
|
|
|
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
|
|
|
|
|
|
|
[dependencies]
|
2024-02-18 22:12:41 +01:00
|
|
|
aho-corasick = { version = "1.1.2", optional = true }
|
2024-02-10 23:47:26 +01:00
|
|
|
crossterm = { version = "0.27.0", optional = true}
|
2024-02-18 22:12:41 +01:00
|
|
|
once_cell = { version = "1.19.0", optional = true}
|
2024-02-10 23:47:26 +01:00
|
|
|
openssh = { version = "0.10.3", features = ["native-mux"], default-features = false, optional = true}
|
|
|
|
ratatui = { version = "0.26.0", optional = true}
|
|
|
|
serde = { version = "1.0.196", features = ["derive"], optional = true }
|
|
|
|
serde_json = { version = "1.0.113", optional = true}
|
2023-04-27 20:09:45 +02:00
|
|
|
structopt = { version = "0.3.26", optional = true}
|
2024-02-10 23:47:26 +01:00
|
|
|
tokio = { version = "1.36.0", features = ["rt"], optional = true}
|
|
|
|
url = { version = "2.5.0" }
|
|
|
|
uuid = { version = "1.7.0" }
|
2023-03-29 08:37:01 +02:00
|
|
|
|
2024-02-18 22:12:41 +01:00
|
|
|
[build-dependencies]
|
|
|
|
version_check = "0.9.4"
|
|
|
|
|
2023-03-29 08:37:01 +02:00
|
|
|
[dev-dependencies]
|
2024-02-10 23:47:26 +01:00
|
|
|
mockall = "0.12.1"
|
|
|
|
once_cell = "1.19.0"
|
|
|
|
tempfile = "3.10.0"
|
2023-04-27 20:09:45 +02:00
|
|
|
|
|
|
|
[features]
|
2023-05-06 11:38:51 +02:00
|
|
|
default = ["database-json", "library-beets"]
|
2024-01-10 22:33:57 +01:00
|
|
|
bin = ["structopt"]
|
2024-02-10 20:38:14 +01:00
|
|
|
database-json = ["serde", "serde_json"]
|
2023-05-06 11:38:51 +02:00
|
|
|
library-beets = []
|
|
|
|
ssh-library = ["openssh", "tokio"]
|
2024-02-18 22:12:41 +01:00
|
|
|
tui = ["aho-corasick", "crossterm", "once_cell", "ratatui"]
|
2023-04-27 20:09:45 +02:00
|
|
|
|
|
|
|
[[bin]]
|
|
|
|
name = "musichoard"
|
2024-01-10 22:33:57 +01:00
|
|
|
required-features = ["bin", "database-json", "library-beets", "ssh-library", "tui"]
|
|
|
|
|
|
|
|
[[bin]]
|
2024-01-11 21:29:03 +01:00
|
|
|
name = "musichoard-edit"
|
2024-01-10 22:33:57 +01:00
|
|
|
required-features = ["bin", "database-json"]
|
2023-04-27 20:09:45 +02:00
|
|
|
|
|
|
|
[package.metadata.docs.rs]
|
|
|
|
all-features = true
|