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