mirror of
https://github.com/meilisearch/MeiliSearch
synced 2024-12-24 05:30:16 +01:00
13f1277637
In PR #2773, I added the `chinese`, `hebrew`, `japanese` and `thai` feature flags to allow melisearch to be built without huge specialed tokenizations that took up 90% of the melisearch binary size. Unfortunately, due to some recent changes, this doesn't work anymore. The problem lies in excessive use of the `default` feature flag, which infects the dependency graph. Instead of adding `default-features = false` here and there, it's easier and more future-proof to not declare `default` in `milli` and `meilisearch-types`. I've renamed it to `all-tokenizers`, which also makes it a bit clearer what it's about.
51 lines
1005 B
TOML
51 lines
1005 B
TOML
[package]
|
|
name = "benchmarks"
|
|
publish = false
|
|
|
|
version.workspace = true
|
|
authors.workspace = true
|
|
description.workspace = true
|
|
homepage.workspace = true
|
|
readme.workspace = true
|
|
edition.workspace = true
|
|
license.workspace = true
|
|
|
|
[dependencies]
|
|
anyhow = "1.0.70"
|
|
csv = "1.2.1"
|
|
milli = { path = "../milli" }
|
|
mimalloc = { version = "0.1.36", default-features = false }
|
|
serde_json = { version = "1.0.95", features = ["preserve_order"] }
|
|
|
|
[dev-dependencies]
|
|
criterion = { version = "0.4.0", features = ["html_reports"] }
|
|
rand = "0.8.5"
|
|
rand_chacha = "0.3.1"
|
|
roaring = "0.10.1"
|
|
|
|
[build-dependencies]
|
|
anyhow = "1.0.70"
|
|
bytes = "1.4.0"
|
|
convert_case = "0.6.0"
|
|
flate2 = "1.0.25"
|
|
reqwest = { version = "0.11.16", features = ["blocking", "rustls-tls"], default-features = false }
|
|
|
|
[features]
|
|
default = ["milli/all-tokenizations"]
|
|
|
|
[[bench]]
|
|
name = "search_songs"
|
|
harness = false
|
|
|
|
[[bench]]
|
|
name = "search_wiki"
|
|
harness = false
|
|
|
|
[[bench]]
|
|
name = "search_geo"
|
|
harness = false
|
|
|
|
[[bench]]
|
|
name = "indexing"
|
|
harness = false
|