Features are not correct (#58)
Closes #57 Reviewed-on: https://git.wojciechkozlowski.eu/wojtek/musichoard/pulls/58
This commit is contained in:
parent
e31b44d31d
commit
c6ed827984
@ -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