diff --git a/benchmarks/Cargo.toml b/benchmarks/Cargo.toml index 9c1e83663..87c567de9 100644 --- a/benchmarks/Cargo.toml +++ b/benchmarks/Cargo.toml @@ -7,7 +7,7 @@ publish = false [dependencies] anyhow = "1.0.56" csv = "1.1.6" -milli = { path = "../milli" } +milli = { path = "../milli", default-features = false } mimalloc = { version = "0.1.29", default-features = false } serde_json = { version = "1.0.79", features = ["preserve_order"] } @@ -24,6 +24,9 @@ convert_case = "0.5.0" flate2 = "1.0.22" reqwest = { version = "0.11.9", features = ["blocking", "rustls-tls"], default-features = false } +[features] +default = ["milli/default"] + [[bench]] name = "search_songs" harness = false diff --git a/cli/Cargo.toml b/cli/Cargo.toml index 3e5df29c5..f1f5a6beb 100644 --- a/cli/Cargo.toml +++ b/cli/Cargo.toml @@ -12,9 +12,12 @@ color-eyre = "0.6.1" csv = "1.1.6" eyre = "0.6.7" indicatif = "0.16.2" -milli = { path = "../milli" } +milli = { path = "../milli", default-features = false } mimalloc = { version = "0.1.29", default-features = false } serde = "1.0.136" serde_json = "1.0.79" stderrlog = "0.5.1" structopt = "0.3.26" + +[features] +default = ["milli/default"]