2021-02-28 16:41:47 +01:00
|
|
|
[package]
|
2022-06-06 12:38:46 +02:00
|
|
|
name = "meilisearch-types"
|
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-28 16:41:47 +01:00
|
|
|
|
|
|
|
[dependencies]
|
2024-07-08 18:09:12 +02:00
|
|
|
actix-web = { version = "4.8.0", default-features = false }
|
|
|
|
anyhow = "1.0.86"
|
2023-01-02 16:13:44 +01:00
|
|
|
convert_case = "0.6.0"
|
2024-01-16 15:05:03 +01:00
|
|
|
csv = "1.3.0"
|
2024-07-08 18:09:12 +02:00
|
|
|
deserr = { version = "0.6.2", features = ["actix-web"] }
|
|
|
|
either = { version = "1.13.0", features = ["serde"] }
|
2024-07-08 18:31:15 +02:00
|
|
|
enum-iterator = "2.1.0"
|
2022-12-19 20:50:40 +01:00
|
|
|
file-store = { path = "../file-store" }
|
2024-07-08 18:09:12 +02:00
|
|
|
flate2 = "1.0.30"
|
2022-10-13 15:02:59 +02:00
|
|
|
fst = "0.4.7"
|
2024-07-08 18:31:15 +02:00
|
|
|
memmap2 = "0.9.4"
|
2023-04-24 00:26:08 +02:00
|
|
|
milli = { path = "../milli" }
|
2024-07-08 18:09:12 +02:00
|
|
|
roaring = { version = "0.10.6", features = ["serde"] }
|
|
|
|
serde = { version = "1.0.204", features = ["derive"] }
|
2023-01-12 13:55:53 +01:00
|
|
|
serde-cs = "0.2.4"
|
2024-07-08 18:09:12 +02:00
|
|
|
serde_json = "1.0.120"
|
|
|
|
tar = "0.4.41"
|
|
|
|
tempfile = "3.10.1"
|
|
|
|
thiserror = "1.0.61"
|
|
|
|
time = { version = "0.3.36", features = [
|
2024-06-04 09:54:30 +02:00
|
|
|
"serde-well-known",
|
|
|
|
"formatting",
|
|
|
|
"parsing",
|
|
|
|
"macros",
|
|
|
|
] }
|
2024-07-08 18:09:12 +02:00
|
|
|
tokio = "1.38"
|
2024-07-10 13:46:24 +02:00
|
|
|
uuid = { version = "1.10.0", features = ["serde", "v4"] }
|
2024-09-18 08:54:15 +02:00
|
|
|
bitflags = "2.6.0"
|
2021-12-02 16:03:26 +01:00
|
|
|
|
2022-10-11 17:42:43 +02:00
|
|
|
[dev-dependencies]
|
2024-07-08 18:09:12 +02:00
|
|
|
insta = "1.39.0"
|
2022-10-20 18:03:35 +02:00
|
|
|
meili-snap = { path = "../meili-snap" }
|
2022-10-11 17:42:43 +02:00
|
|
|
|
2021-12-02 16:03:26 +01:00
|
|
|
[features]
|
2022-10-20 17:27:15 +02:00
|
|
|
# all specialized tokenizations
|
2023-04-24 00:26:08 +02:00
|
|
|
all-tokenizations = ["milli/all-tokenizations"]
|
2022-10-11 17:42:43 +02:00
|
|
|
|
2022-10-20 17:27:15 +02:00
|
|
|
# chinese specialized tokenization
|
2022-10-11 17:42:43 +02:00
|
|
|
chinese = ["milli/chinese"]
|
2024-04-18 11:38:26 +02:00
|
|
|
chinese-pinyin = ["milli/chinese-pinyin"]
|
2022-10-20 17:27:15 +02:00
|
|
|
# hebrew specialized tokenization
|
2022-10-11 17:42:43 +02:00
|
|
|
hebrew = ["milli/hebrew"]
|
2022-10-20 17:27:15 +02:00
|
|
|
# japanese specialized tokenization
|
2022-10-11 17:42:43 +02:00
|
|
|
japanese = ["milli/japanese"]
|
2024-05-30 10:28:11 +02:00
|
|
|
# korean specialized tokenization
|
|
|
|
korean = ["milli/korean"]
|
2022-10-20 17:27:15 +02:00
|
|
|
# thai specialized tokenization
|
2022-10-11 17:42:43 +02:00
|
|
|
thai = ["milli/thai"]
|
2023-04-26 14:58:32 +02:00
|
|
|
# allow greek specialized tokenization
|
|
|
|
greek = ["milli/greek"]
|
2023-10-26 17:01:10 +02:00
|
|
|
# allow khmer specialized tokenization
|
|
|
|
khmer = ["milli/khmer"]
|
2024-01-25 18:58:52 +01:00
|
|
|
# allow vietnamese specialized tokenization
|
|
|
|
vietnamese = ["milli/vietnamese"]
|
2024-04-30 14:30:23 +02:00
|
|
|
# force swedish character recomposition
|
|
|
|
swedish-recomposition = ["milli/swedish-recomposition"]
|
2024-09-19 13:30:07 +02:00
|
|
|
# force german character recomposition
|
|
|
|
german = ["milli/german"]
|