2021-02-12 16:15:09 +01:00
|
|
|
[package]
|
|
|
|
name = "milli"
|
|
|
|
edition = "2018"
|
2023-02-15 13:51:07 +01:00
|
|
|
publish = false
|
|
|
|
|
|
|
|
version.workspace = true
|
|
|
|
authors.workspace = true
|
|
|
|
description.workspace = true
|
|
|
|
homepage.workspace = true
|
|
|
|
readme.workspace = true
|
|
|
|
# edition.workspace = true
|
|
|
|
license.workspace = true
|
2021-02-12 16:15:09 +01:00
|
|
|
|
|
|
|
[dependencies]
|
2023-04-11 15:23:51 +02:00
|
|
|
bimap = { version = "0.6.3", features = ["serde"] }
|
2021-08-31 11:44:15 +02:00
|
|
|
bincode = "1.3.3"
|
2023-04-11 15:23:51 +02:00
|
|
|
bstr = "1.4.0"
|
2022-03-14 17:00:53 +01:00
|
|
|
byteorder = "1.4.3"
|
2023-04-26 14:56:54 +02:00
|
|
|
charabia = { version = "0.7.2", default-features = false }
|
2021-07-06 11:31:24 +02:00
|
|
|
concat-arrays = "0.1.2"
|
2023-04-11 15:23:51 +02:00
|
|
|
crossbeam-channel = "0.5.8"
|
2023-02-16 13:12:18 +01:00
|
|
|
deserr = "0.5.0"
|
2023-04-11 15:23:51 +02:00
|
|
|
either = "1.8.1"
|
2022-06-02 15:46:44 +02:00
|
|
|
flatten-serde-json = { path = "../flatten-serde-json" }
|
2022-03-14 17:00:53 +01:00
|
|
|
fst = "0.4.7"
|
2021-02-12 16:15:09 +01:00
|
|
|
fxhash = "0.2.1"
|
2022-10-04 11:29:39 +02:00
|
|
|
geoutils = "0.5.1"
|
2023-05-15 11:42:30 +02:00
|
|
|
grenad = { version = "0.4.4", default-features = false, features = [
|
|
|
|
"tempfile",
|
|
|
|
] }
|
|
|
|
heed = { git = "https://github.com/meilisearch/heed", tag = "v0.12.6", default-features = false, features = [
|
|
|
|
"lmdb",
|
|
|
|
"sync-read-txn",
|
|
|
|
] }
|
2022-04-12 11:22:36 +02:00
|
|
|
json-depth-checker = { path = "../json-depth-checker" }
|
2022-03-14 17:00:53 +01:00
|
|
|
levenshtein_automata = { version = "0.2.1", features = ["fst_automaton"] }
|
2023-04-11 15:23:51 +02:00
|
|
|
memmap2 = "0.5.10"
|
2021-07-06 11:31:24 +02:00
|
|
|
obkv = "0.2.0"
|
2023-04-11 15:23:51 +02:00
|
|
|
once_cell = "1.17.1"
|
|
|
|
ordered-float = "3.6.0"
|
|
|
|
rayon = "1.7.0"
|
2022-10-04 11:29:39 +02:00
|
|
|
roaring = "0.10.1"
|
2023-04-11 15:55:23 +02:00
|
|
|
rstar = { version = "0.10.0", features = ["serde"] }
|
2023-04-11 15:23:51 +02:00
|
|
|
serde = { version = "1.0.160", features = ["derive"] }
|
|
|
|
serde_json = { version = "1.0.95", features = ["preserve_order"] }
|
2022-03-14 17:00:53 +01:00
|
|
|
slice-group-by = "0.3.0"
|
2023-05-15 11:42:30 +02:00
|
|
|
smallstr = { version = "0.3.0", features = ["serde"] }
|
2022-10-04 11:29:39 +02:00
|
|
|
smallvec = "1.10.0"
|
2022-04-11 15:43:18 +02:00
|
|
|
smartstring = "1.0.1"
|
2023-04-11 15:23:51 +02:00
|
|
|
tempfile = "3.5.0"
|
|
|
|
thiserror = "1.0.40"
|
2023-05-15 11:42:30 +02:00
|
|
|
time = { version = "0.3.20", features = [
|
|
|
|
"serde-well-known",
|
|
|
|
"formatting",
|
|
|
|
"parsing",
|
|
|
|
"macros",
|
|
|
|
] }
|
2023-04-11 15:23:51 +02:00
|
|
|
uuid = { version = "1.3.1", features = ["v4"] }
|
2021-02-12 16:15:09 +01:00
|
|
|
|
2021-11-09 16:16:28 +01:00
|
|
|
filter-parser = { path = "../filter-parser" }
|
2021-02-12 16:15:09 +01:00
|
|
|
|
|
|
|
# documents words self-join
|
2022-10-04 11:29:39 +02:00
|
|
|
itertools = "0.10.5"
|
2021-02-12 16:15:09 +01:00
|
|
|
|
|
|
|
# logging
|
2022-10-04 11:29:39 +02:00
|
|
|
log = "0.4.17"
|
2022-03-14 17:00:53 +01:00
|
|
|
logging_timer = "1.1.0"
|
2023-04-11 15:23:51 +02:00
|
|
|
csv = "1.2.1"
|
2021-02-12 16:15:09 +01:00
|
|
|
|
|
|
|
[dev-dependencies]
|
2023-03-20 09:41:37 +01:00
|
|
|
mimalloc = { version = "0.1.29", default-features = false }
|
2021-03-11 11:48:55 +01:00
|
|
|
big_s = "1.0.2"
|
2023-04-11 15:23:51 +02:00
|
|
|
insta = "1.29.0"
|
2021-02-12 16:15:09 +01:00
|
|
|
maplit = "1.0.2"
|
2022-08-03 08:45:26 +02:00
|
|
|
md5 = "0.7.0"
|
2023-05-15 11:42:30 +02:00
|
|
|
rand = { version = "0.8.5", features = ["small_rng"] }
|
2021-02-12 16:15:09 +01:00
|
|
|
|
2022-09-08 11:53:01 +02:00
|
|
|
[target.'cfg(fuzzing)'.dev-dependencies]
|
2022-10-26 14:06:59 +02:00
|
|
|
fuzzcheck = "0.12.1"
|
2022-09-08 11:53:01 +02:00
|
|
|
|
2021-02-12 16:15:09 +01:00
|
|
|
[features]
|
2023-05-15 11:42:30 +02:00
|
|
|
all-tokenizations = ["charabia/default"]
|
2022-09-08 12:19:44 +02:00
|
|
|
|
2023-01-19 18:08:38 +01:00
|
|
|
# Use POSIX semaphores instead of SysV semaphores in LMDB
|
|
|
|
# For more information on this feature, see heed's Cargo.toml
|
|
|
|
lmdb-posix-sem = ["heed/posix-sem"]
|
|
|
|
|
2022-09-08 12:19:44 +02:00
|
|
|
# allow chinese specialized tokenization
|
|
|
|
chinese = ["charabia/chinese"]
|
|
|
|
|
|
|
|
# allow hebrew specialized tokenization
|
|
|
|
hebrew = ["charabia/hebrew"]
|
|
|
|
|
|
|
|
# allow japanese specialized tokenization
|
|
|
|
japanese = ["charabia/japanese"]
|
2022-12-12 14:53:08 +01:00
|
|
|
japanese-transliteration = ["charabia/japanese-transliteration"]
|
|
|
|
|
|
|
|
# allow korean specialized tokenization
|
|
|
|
korean = ["charabia/korean"]
|
2022-09-08 12:19:44 +02:00
|
|
|
|
|
|
|
# allow thai specialized tokenization
|
|
|
|
thai = ["charabia/thai"]
|
2023-04-26 14:56:54 +02:00
|
|
|
|
|
|
|
# allow greek specialized tokenization
|
2023-04-26 14:58:32 +02:00
|
|
|
greek = ["charabia/greek"]
|