2021-02-28 23:41:47 +08:00
|
|
|
[package]
|
2022-06-06 18:38:46 +08:00
|
|
|
name = "meilisearch-types"
|
2022-12-08 20:20:17 +08:00
|
|
|
version = "1.0.0"
|
2021-02-28 23:41:47 +08:00
|
|
|
authors = ["marin <postma.marin@protonmail.com>"]
|
2022-01-12 18:14:50 +08:00
|
|
|
edition = "2021"
|
2021-02-28 23:41:47 +08:00
|
|
|
|
|
|
|
[dependencies]
|
2022-10-04 18:04:16 +08:00
|
|
|
actix-web = { version = "4.2.1", default-features = false }
|
2022-10-25 21:06:28 +08:00
|
|
|
anyhow = "1.0.65"
|
2022-10-11 23:42:43 +08:00
|
|
|
csv = "1.1.6"
|
|
|
|
either = { version = "1.6.1", features = ["serde"] }
|
2022-10-18 00:57:23 +08:00
|
|
|
enum-iterator = "1.1.3"
|
2022-10-25 21:51:15 +08:00
|
|
|
flate2 = "1.0.24"
|
2022-10-13 21:02:59 +08:00
|
|
|
fst = "0.4.7"
|
2022-12-03 18:52:20 +08:00
|
|
|
memmap2 = "0.5.7"
|
2022-12-14 21:33:43 +08:00
|
|
|
milli = { git = "https://github.com/meilisearch/milli.git", tag = "v0.37.3", default-features = false }
|
2021-12-02 23:03:26 +08:00
|
|
|
proptest = { version = "1.0.0", optional = true }
|
|
|
|
proptest-derive = { version = "0.3.0", optional = true }
|
2022-10-13 17:09:00 +08:00
|
|
|
roaring = { version = "0.10.0", features = ["serde"] }
|
2022-10-04 18:04:16 +08:00
|
|
|
serde = { version = "1.0.145", features = ["derive"] }
|
|
|
|
serde_json = "1.0.85"
|
2022-10-25 21:51:15 +08:00
|
|
|
tar = "0.4.38"
|
2022-10-12 22:10:28 +08:00
|
|
|
thiserror = "1.0.30"
|
2022-10-18 17:02:46 +08:00
|
|
|
time = { version = "0.3.7", features = ["serde-well-known", "formatting", "parsing", "macros"] }
|
2022-10-04 16:38:17 +08:00
|
|
|
tokio = "1.0"
|
2022-10-12 09:21:25 +08:00
|
|
|
uuid = { version = "1.1.2", features = ["serde", "v4"] }
|
2021-12-02 23:03:26 +08:00
|
|
|
|
2022-10-11 23:42:43 +08:00
|
|
|
[dev-dependencies]
|
2022-10-21 00:03:35 +08:00
|
|
|
insta = "1.19.1"
|
|
|
|
meili-snap = { path = "../meili-snap" }
|
2022-10-11 23:42:43 +08:00
|
|
|
proptest = "1.0.0"
|
|
|
|
proptest-derive = "0.3.0"
|
|
|
|
|
2021-12-02 23:03:26 +08:00
|
|
|
[features]
|
2022-10-20 23:27:15 +08:00
|
|
|
# all specialized tokenizations
|
2022-10-11 23:42:43 +08:00
|
|
|
default = ["milli/default"]
|
|
|
|
|
2022-10-20 23:27:15 +08:00
|
|
|
# chinese specialized tokenization
|
2022-10-11 23:42:43 +08:00
|
|
|
chinese = ["milli/chinese"]
|
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"]
|
2022-10-20 23:27:15 +08:00
|
|
|
# thai specialized tokenization
|
2022-10-11 23:42:43 +08:00
|
|
|
thai = ["milli/thai"]
|
2022-10-20 23:27:15 +08:00
|
|
|
test-traits = ["proptest", "proptest-derive"]
|