1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
|
diff --git a/src/lib.rs b/src/lib.rs
index 6346498..de3345a 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -30,7 +30,7 @@ pub mod terminal;
#[cfg(feature = "application")]
pub mod application;
-#[cfg(feature = "options")]
+#[cfg(all(feature = "default", feature = "options"))]
pub mod command;
#[cfg(feature = "application")]
pub mod component;
@@ -66,7 +66,7 @@ pub use crate::{
#[cfg(feature = "config")]
pub use crate::config::{Config, Configurable};
-#[cfg(feature = "options")]
+#[cfg(all(feature = "default", feature = "options"))]
pub use crate::{command::Command, path::StandardPaths};
// Re-exported modules/types from third-party crates
|