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-06-04 15:54:30 +08:00
|
|
|
actix-web = { version = "4.6.0", default-features = false }
|
2024-01-16 22:05:03 +08:00
|
|
|
anyhow = "1.0.79"
|
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"
|
|
|
|
deserr = { version = "0.6.1", features = ["actix-web"] }
|
|
|
|
either = { version = "1.9.0", features = ["serde"] }
|
|
|
|
enum-iterator = "1.5.0"
|
2022-12-20 03:50:40 +08:00
|
|
|
file-store = { path = "../file-store" }
|
2024-01-16 22:05:03 +08:00
|
|
|
flate2 = "1.0.28"
|
2022-10-13 21:02:59 +08:00
|
|
|
fst = "0.4.7"
|
2023-08-09 18:02:13 +08:00
|
|
|
memmap2 = "0.7.1"
|
2023-04-24 06:26:08 +08:00
|
|
|
milli = { path = "../milli" }
|
2024-01-16 22:05:03 +08:00
|
|
|
roaring = { version = "0.10.2", features = ["serde"] }
|
|
|
|
serde = { version = "1.0.195", features = ["derive"] }
|
2023-01-12 20:55:53 +08:00
|
|
|
serde-cs = "0.2.4"
|
2024-01-16 22:05:03 +08:00
|
|
|
serde_json = "1.0.111"
|
|
|
|
tar = "0.4.40"
|
|
|
|
tempfile = "3.9.0"
|
|
|
|
thiserror = "1.0.56"
|
2024-06-04 15:54:30 +08:00
|
|
|
time = { version = "0.3.31", features = [
|
|
|
|
"serde-well-known",
|
|
|
|
"formatting",
|
|
|
|
"parsing",
|
|
|
|
"macros",
|
|
|
|
] }
|
2024-01-16 22:05:03 +08:00
|
|
|
tokio = "1.35"
|
|
|
|
uuid = { version = "1.6.1", features = ["serde", "v4"] }
|
2021-12-02 23:03:26 +08:00
|
|
|
|
2022-10-11 23:42:43 +08:00
|
|
|
[dev-dependencies]
|
2024-01-16 22:05:03 +08:00
|
|
|
insta = "1.34.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"]
|