Features are not correct #58
@ -21,14 +21,15 @@ once_cell = "1.17.1"
|
|||||||
tempfile = "3.5.0"
|
tempfile = "3.5.0"
|
||||||
|
|
||||||
[features]
|
[features]
|
||||||
bin = ["structopt"]
|
default = ["database-json", "library-beets"]
|
||||||
database-json = ["serde_json"]
|
database-json = ["serde_json"]
|
||||||
library-ssh = ["openssh", "tokio"]
|
library-beets = []
|
||||||
tui = ["crossterm", "ratatui"]
|
ssh-library = ["openssh", "tokio"]
|
||||||
|
tui = ["structopt", "crossterm", "ratatui"]
|
||||||
|
|
||||||
[[bin]]
|
[[bin]]
|
||||||
name = "musichoard"
|
name = "musichoard"
|
||||||
required-features = ["bin", "database-json", "library-ssh", "tui"]
|
required-features = ["database-json", "library-beets", "ssh-library", "tui"]
|
||||||
|
|
||||||
[package.metadata.docs.rs]
|
[package.metadata.docs.rs]
|
||||||
all-features = true
|
all-features = true
|
||||||
|
@ -74,7 +74,7 @@ impl BeetsLibraryExecutor for BeetsLibraryProcessExecutor {
|
|||||||
impl BeetsLibraryExecutorPrivate for BeetsLibraryProcessExecutor {}
|
impl BeetsLibraryExecutorPrivate for BeetsLibraryProcessExecutor {}
|
||||||
|
|
||||||
// GRCOV_EXCL_START
|
// GRCOV_EXCL_START
|
||||||
#[cfg(feature = "library-ssh")]
|
#[cfg(feature = "ssh-library")]
|
||||||
pub mod ssh {
|
pub mod ssh {
|
||||||
|
|
||||||
use openssh::{KnownHosts, Session};
|
use openssh::{KnownHosts, Session};
|
||||||
|
@ -7,6 +7,7 @@ use mockall::automock;
|
|||||||
|
|
||||||
use crate::Artist;
|
use crate::Artist;
|
||||||
|
|
||||||
|
#[cfg(feature = "library-beets")]
|
||||||
pub mod beets;
|
pub mod beets;
|
||||||
|
|
||||||
/// Individual fields that can be queried on.
|
/// Individual fields that can be queried on.
|
||||||
|
@ -1 +1,2 @@
|
|||||||
|
#[cfg(feature = "library-beets")]
|
||||||
mod beets;
|
mod beets;
|
||||||
|
Loading…
Reference in New Issue
Block a user