From f4569b04ad086479c557a116f90b4edc87f1d86a Mon Sep 17 00:00:00 2001 From: ManyTheFish Date: Wed, 1 Feb 2023 15:23:25 +0100 Subject: [PATCH] Update Charabia version --- Cargo.lock | 14 ++++++++++++-- milli/Cargo.toml | 3 ++- 2 files changed, 14 insertions(+), 3 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index dd7d828da..a894cb8c6 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -666,14 +666,14 @@ dependencies = [ [[package]] name = "charabia" version = "0.7.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b57f9571f611796ea38e5a9c12e5ce37476f70397b032757f8dfe0c7b9bc5637" +source = "git+https://github.com/meilisearch/charabia?branch=fix-script-lang-serialization#c5efba56d433ff783e162009e020baba322afde0" dependencies = [ "cow-utils", "csv", "deunicode", "fst", "jieba-rs", + "kvariants", "lindera", "once_cell", "pinyin", @@ -2074,6 +2074,16 @@ dependencies = [ "simple_asn1", ] +[[package]] +name = "kvariants" +version = "0.1.0" +source = "git+https://github.com/meilisearch/charabia?branch=fix-script-lang-serialization#c5efba56d433ff783e162009e020baba322afde0" +dependencies = [ + "csv", + "once_cell", + "serde", +] + [[package]] name = "language-tags" version = "0.3.2" diff --git a/milli/Cargo.toml b/milli/Cargo.toml index b32592ab9..b6449c5db 100644 --- a/milli/Cargo.toml +++ b/milli/Cargo.toml @@ -9,7 +9,8 @@ bimap = { version = "0.6.2", features = ["serde"] } bincode = "1.3.3" bstr = "1.0.1" byteorder = "1.4.3" -charabia = { version = "0.7.0", default-features = false } +# charabia = { version = "0.7.0", default-features = false } +charabia = { git = "https://github.com/meilisearch/charabia", branch = "fix-script-lang-serialization", default-features = false } concat-arrays = "0.1.2" crossbeam-channel = "0.5.6" deserr = "0.1.4"