From 64b0a50a58cf5331e359749d340327030420ca0d Mon Sep 17 00:00:00 2001 From: Irevoire Date: Thu, 14 Apr 2022 12:12:54 +0200 Subject: [PATCH] chore: bump milli --- Cargo.lock | 35 +++++++++++++++++++++++++++++++---- meilisearch-auth/Cargo.toml | 2 +- meilisearch-lib/Cargo.toml | 2 +- 3 files changed, 33 insertions(+), 6 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index e2c77604c..965328ab7 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1087,7 +1087,7 @@ dependencies = [ [[package]] name = "filter-parser" version = "0.1.0" -source = "git+https://github.com/meilisearch/milli.git?tag=v0.26.0#9ac2fd1c379d5b91c80471c23079dbba57b9a841" +source = "git+https://github.com/meilisearch/milli.git?tag=v0.26.1#a68e3a79fbdbb366ab162428884e5879a9af9d5c" dependencies = [ "nom", "nom_locate", @@ -1114,7 +1114,7 @@ dependencies = [ [[package]] name = "flatten-serde-json" version = "0.1.0" -source = "git+https://github.com/meilisearch/milli.git?tag=v0.26.0#9ac2fd1c379d5b91c80471c23079dbba57b9a841" +source = "git+https://github.com/meilisearch/milli.git?tag=v0.26.1#a68e3a79fbdbb366ab162428884e5879a9af9d5c" dependencies = [ "serde_json", ] @@ -1614,6 +1614,14 @@ dependencies = [ "wasm-bindgen", ] +[[package]] +name = "json-depth-checker" +version = "0.1.0" +source = "git+https://github.com/meilisearch/milli.git?tag=v0.26.1#a68e3a79fbdbb366ab162428884e5879a9af9d5c" +dependencies = [ + "serde_json", +] + [[package]] name = "jsonwebtoken" version = "8.0.1" @@ -2137,8 +2145,8 @@ dependencies = [ [[package]] name = "milli" -version = "0.26.0" -source = "git+https://github.com/meilisearch/milli.git?tag=v0.26.0#9ac2fd1c379d5b91c80471c23079dbba57b9a841" +version = "0.26.1" +source = "git+https://github.com/meilisearch/milli.git?tag=v0.26.1#a68e3a79fbdbb366ab162428884e5879a9af9d5c" dependencies = [ "bimap", "bincode", @@ -2156,6 +2164,7 @@ dependencies = [ "grenad", "heed", "itertools", + "json-depth-checker", "levenshtein_automata", "log", "logging_timer", @@ -2172,6 +2181,7 @@ dependencies = [ "slice-group-by", "smallstr", "smallvec", + "smartstring", "tempfile", "time 0.3.9", "uuid", @@ -3174,6 +3184,17 @@ version = "1.8.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f2dd574626839106c320a323308629dcb1acfc96e32a8cba364ddc61ac23ee83" +[[package]] +name = "smartstring" +version = "1.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3fb72c633efbaa2dd666986505016c32c3044395ceaf881518399d2f4127ee29" +dependencies = [ + "autocfg", + "static_assertions", + "version_check", +] + [[package]] name = "socket2" version = "0.4.4" @@ -3216,6 +3237,12 @@ dependencies = [ "path-slash", ] +[[package]] +name = "static_assertions" +version = "1.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a2eb9349b6444b326872e140eb1cf5e7c522154d69e7a0ffb0fb81c06b37543f" + [[package]] name = "strsim" version = "0.10.0" diff --git a/meilisearch-auth/Cargo.toml b/meilisearch-auth/Cargo.toml index db100ba45..92d3fdbe1 100644 --- a/meilisearch-auth/Cargo.toml +++ b/meilisearch-auth/Cargo.toml @@ -6,7 +6,7 @@ edition = "2021" [dependencies] enum-iterator = "0.7.0" meilisearch-error = { path = "../meilisearch-error" } -milli = { git = "https://github.com/meilisearch/milli.git", tag = "v0.26.0" } +milli = { git = "https://github.com/meilisearch/milli.git", tag = "v0.26.1" } rand = "0.8.4" serde = { version = "1.0.136", features = ["derive"] } serde_json = { version = "1.0.79", features = ["preserve_order"] } diff --git a/meilisearch-lib/Cargo.toml b/meilisearch-lib/Cargo.toml index 524d094bf..392cff95e 100644 --- a/meilisearch-lib/Cargo.toml +++ b/meilisearch-lib/Cargo.toml @@ -30,7 +30,7 @@ lazy_static = "1.4.0" log = "0.4.14" meilisearch-auth = { path = "../meilisearch-auth" } meilisearch-error = { path = "../meilisearch-error" } -milli = { git = "https://github.com/meilisearch/milli.git", tag = "v0.26.0" } +milli = { git = "https://github.com/meilisearch/milli.git", tag = "v0.26.1" } mime = "0.3.16" num_cpus = "1.13.1" obkv = "0.2.0"