Move database and library implementations out of core #162

Merged
wojtek merged 5 commits from 159---move-database-and-library-implementations-out-of-core into main 2024-03-09 19:12:00 +01:00
2 changed files with 3 additions and 3 deletions
Showing only changes of commit a011adefaa - Show all commits

View File

@ -31,12 +31,12 @@ default = ["database-json", "library-beets"]
bin = ["structopt"] bin = ["structopt"]
database-json = ["serde", "serde_json"] database-json = ["serde", "serde_json"]
library-beets = [] library-beets = []
ssh-library = ["openssh", "tokio"] library-beets-ssh = ["openssh", "tokio"]
tui = ["aho-corasick", "crossterm", "once_cell", "ratatui"] tui = ["aho-corasick", "crossterm", "once_cell", "ratatui"]
[[bin]] [[bin]]
name = "musichoard" name = "musichoard"
required-features = ["bin", "database-json", "library-beets", "ssh-library", "tui"] required-features = ["bin", "database-json", "library-beets", "library-beets-ssh", "tui"]
[[bin]] [[bin]]
name = "musichoard-edit" name = "musichoard-edit"

View File

@ -75,7 +75,7 @@ impl IBeetsLibraryExecutor for BeetsLibraryProcessExecutor {
impl IBeetsLibraryExecutorPrivate for BeetsLibraryProcessExecutor {} impl IBeetsLibraryExecutorPrivate for BeetsLibraryProcessExecutor {}
// GRCOV_EXCL_START // GRCOV_EXCL_START
#[cfg(feature = "ssh-library")] #[cfg(feature = "library-beets-ssh")]
pub mod ssh { pub mod ssh {
//! Module for interacting with the music library via //! Module for interacting with the music library via
//! [beets](https://beets.readthedocs.io/en/stable/) over SSH. //! [beets](https://beets.readthedocs.io/en/stable/) over SSH.