Make milli's default features optional in other executable targets

This commit is contained in:
Loïc Lecrenier 2022-08-16 20:02:46 +02:00 committed by Loïc Lecrenier
parent 6fbf5dac68
commit 53503f09ca
2 changed files with 8 additions and 2 deletions

View file

@ -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