diff --git a/crates/nu-cmd-dataframe/Cargo.toml b/crates/nu-cmd-dataframe/Cargo.toml index 83a29e8c52..e4f20cbb46 100644 --- a/crates/nu-cmd-dataframe/Cargo.toml +++ b/crates/nu-cmd-dataframe/Cargo.toml @@ -56,8 +56,8 @@ optional = true version = "0.30.0" [features] -dataframe = ["default"] -default = ["num", "polars", "sqlparser"] +dataframe = ["num", "polars", "sqlparser"] +default = [] [dev-dependencies] nu-cmd-lang = { path = "../nu-cmd-lang", version = "0.83.2" } diff --git a/crates/nu-cmd-dataframe/src/lib.rs b/crates/nu-cmd-dataframe/src/lib.rs index f84027aca2..7e7c8014c6 100644 --- a/crates/nu-cmd-dataframe/src/lib.rs +++ b/crates/nu-cmd-dataframe/src/lib.rs @@ -1,2 +1,4 @@ +#[cfg(feature = "dataframe")] pub mod dataframe; +#[cfg(feature = "dataframe")] pub use dataframe::*;