get rids of the index crate + the document_types crate

This commit is contained in:
Tamo 2022-10-11 17:42:43 +02:00 committed by Clément Renault
parent 9a74ea0943
commit 667c282e19
No known key found for this signature in database
GPG key ID: 92ADA4E935E71FA4
30 changed files with 324 additions and 2145 deletions

View file

@ -6,12 +6,24 @@ edition = "2021"
[dependencies]
actix-web = { version = "4.2.1", default-features = false }
milli = { git = "https://github.com/meilisearch/milli.git", tag = "v0.33.0" }
csv = "1.1.6"
either = { version = "1.6.1", features = ["serde"] }
milli = { git = "https://github.com/meilisearch/milli.git", tag = "v0.33.4", default-features = false }
proptest = { version = "1.0.0", optional = true }
proptest-derive = { version = "0.3.0", optional = true }
serde = { version = "1.0.145", features = ["derive"] }
serde_json = "1.0.85"
tokio = "1.0"
[dev-dependencies]
proptest = "1.0.0"
proptest-derive = "0.3.0"
[features]
default = ["milli/default"]
test-traits = ["proptest", "proptest-derive"]
chinese = ["milli/chinese"]
hebrew = ["milli/hebrew"]
japanese = ["milli/japanese"]
thai = ["milli/thai"]

View file

@ -1,3 +1,11 @@
pub mod document_formats;
pub mod error;
pub mod index_uid;
pub mod settings;
pub mod star_or;
pub use milli;
pub use milli::heed;
pub use milli::Index;
pub type Document = serde_json::Map<String, serde_json::Value>;