mirror of
https://github.com/meilisearch/meilisearch.git
synced 2024-11-27 04:25:06 +08:00
Make milli's default features optional in other executable targets
This commit is contained in:
parent
6fbf5dac68
commit
53503f09ca
@ -7,7 +7,7 @@ publish = false
|
|||||||
[dependencies]
|
[dependencies]
|
||||||
anyhow = "1.0.56"
|
anyhow = "1.0.56"
|
||||||
csv = "1.1.6"
|
csv = "1.1.6"
|
||||||
milli = { path = "../milli" }
|
milli = { path = "../milli", default-features = false }
|
||||||
mimalloc = { version = "0.1.29", default-features = false }
|
mimalloc = { version = "0.1.29", default-features = false }
|
||||||
serde_json = { version = "1.0.79", features = ["preserve_order"] }
|
serde_json = { version = "1.0.79", features = ["preserve_order"] }
|
||||||
|
|
||||||
@ -24,6 +24,9 @@ convert_case = "0.5.0"
|
|||||||
flate2 = "1.0.22"
|
flate2 = "1.0.22"
|
||||||
reqwest = { version = "0.11.9", features = ["blocking", "rustls-tls"], default-features = false }
|
reqwest = { version = "0.11.9", features = ["blocking", "rustls-tls"], default-features = false }
|
||||||
|
|
||||||
|
[features]
|
||||||
|
default = ["milli/default"]
|
||||||
|
|
||||||
[[bench]]
|
[[bench]]
|
||||||
name = "search_songs"
|
name = "search_songs"
|
||||||
harness = false
|
harness = false
|
||||||
|
@ -12,9 +12,12 @@ color-eyre = "0.6.1"
|
|||||||
csv = "1.1.6"
|
csv = "1.1.6"
|
||||||
eyre = "0.6.7"
|
eyre = "0.6.7"
|
||||||
indicatif = "0.16.2"
|
indicatif = "0.16.2"
|
||||||
milli = { path = "../milli" }
|
milli = { path = "../milli", default-features = false }
|
||||||
mimalloc = { version = "0.1.29", default-features = false }
|
mimalloc = { version = "0.1.29", default-features = false }
|
||||||
serde = "1.0.136"
|
serde = "1.0.136"
|
||||||
serde_json = "1.0.79"
|
serde_json = "1.0.79"
|
||||||
stderrlog = "0.5.1"
|
stderrlog = "0.5.1"
|
||||||
structopt = "0.3.26"
|
structopt = "0.3.26"
|
||||||
|
|
||||||
|
[features]
|
||||||
|
default = ["milli/default"]
|
||||||
|
Loading…
Reference in New Issue
Block a user