[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] crossterm = { version = "0.26.1", optional = true} openssh = { version = "0.9.9", features = ["native-mux"], default-features = false, optional = true} paste = { version = "1.0.14" } ratatui = { version = "0.20.1", optional = true} serde = { version = "1.0.159", features = ["derive"] } serde_json = { version = "1.0.95", optional = true} structopt = { version = "0.3.26", optional = true} tokio = { version = "1.27.0", features = ["rt"], optional = true} url = { version = "2.3.1", features = ["serde"] } uuid = { version = "1.3.0", features = ["serde"] } [dev-dependencies] mockall = "0.11.4" once_cell = "1.17.1" tempfile = "3.5.0" [features] default = ["database-json", "library-beets"] bin = ["structopt"] database-json = ["serde_json"] library-beets = [] ssh-library = ["openssh", "tokio"] tui = ["crossterm", "ratatui"] [[bin]] name = "musichoard" required-features = ["bin", "database-json", "library-beets", "ssh-library", "tui"] [[bin]] name = "mh-edit" required-features = ["bin", "database-json"] [package.metadata.docs.rs] all-features = true