mirror of
https://github.com/meilisearch/MeiliSearch
synced 2024-11-23 05:14:27 +01:00
Merge #655
655: Upgrade all dependencies r=Kerollmops a=loiclec Upgrade all dependencies to their latest versions. Partly fixes https://github.com/meilisearch/meilisearch/issues/2822 Co-authored-by: Loïc Lecrenier <loic@meilisearch.com>
This commit is contained in:
commit
fad0de4581
@ -5,24 +5,24 @@ edition = "2018"
|
|||||||
publish = false
|
publish = false
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
anyhow = "1.0.56"
|
anyhow = "1.0.65"
|
||||||
csv = "1.1.6"
|
csv = "1.1.6"
|
||||||
milli = { path = "../milli", default-features = false }
|
milli = { path = "../milli", default-features = false }
|
||||||
mimalloc = { version = "0.1.29", default-features = false }
|
mimalloc = { version = "0.1.29", default-features = false }
|
||||||
serde_json = { version = "1.0.79", features = ["preserve_order"] }
|
serde_json = { version = "1.0.85", features = ["preserve_order"] }
|
||||||
|
|
||||||
[dev-dependencies]
|
[dev-dependencies]
|
||||||
criterion = { version = "0.3.5", features = ["html_reports"] }
|
criterion = { version = "0.4.0", features = ["html_reports"] }
|
||||||
rand = "0.8.5"
|
rand = "0.8.5"
|
||||||
rand_chacha = "0.3.1"
|
rand_chacha = "0.3.1"
|
||||||
roaring = "0.9.0"
|
roaring = "0.10.1"
|
||||||
|
|
||||||
[build-dependencies]
|
[build-dependencies]
|
||||||
anyhow = "1.0.56"
|
anyhow = "1.0.65"
|
||||||
bytes = "1.1.0"
|
bytes = "1.2.1"
|
||||||
convert_case = "0.5.0"
|
convert_case = "0.6.0"
|
||||||
flate2 = "1.0.22"
|
flate2 = "1.0.24"
|
||||||
reqwest = { version = "0.11.9", features = ["blocking", "rustls-tls"], default-features = false }
|
reqwest = { version = "0.11.12", features = ["blocking", "rustls-tls"], default-features = false }
|
||||||
|
|
||||||
[features]
|
[features]
|
||||||
default = ["milli/default"]
|
default = ["milli/default"]
|
||||||
|
@ -8,15 +8,15 @@ publish = false
|
|||||||
[dependencies]
|
[dependencies]
|
||||||
bimap = "0.6.2"
|
bimap = "0.6.2"
|
||||||
byte-unit = { version = "4.0.14", features = ["serde"] }
|
byte-unit = { version = "4.0.14", features = ["serde"] }
|
||||||
color-eyre = "0.6.1"
|
color-eyre = "0.6.2"
|
||||||
csv = "1.1.6"
|
csv = "1.1.6"
|
||||||
eyre = "0.6.7"
|
eyre = "0.6.8"
|
||||||
indicatif = "0.16.2"
|
indicatif = "0.17.1"
|
||||||
milli = { path = "../milli", default-features = false }
|
milli = { path = "../milli", default-features = false }
|
||||||
mimalloc = { version = "0.1.29", default-features = false }
|
mimalloc = { version = "0.1.29", default-features = false }
|
||||||
serde = "1.0.136"
|
serde = "1.0.145"
|
||||||
serde_json = "1.0.79"
|
serde_json = "1.0.85"
|
||||||
stderrlog = "0.5.1"
|
stderrlog = "0.5.3"
|
||||||
structopt = "0.3.26"
|
structopt = "0.3.26"
|
||||||
|
|
||||||
[features]
|
[features]
|
||||||
|
@ -3,7 +3,7 @@ use std::fs::File;
|
|||||||
use std::io::{stdin, BufRead, BufReader, Cursor, Read, Write};
|
use std::io::{stdin, BufRead, BufReader, Cursor, Read, Write};
|
||||||
use std::path::PathBuf;
|
use std::path::PathBuf;
|
||||||
use std::str::FromStr;
|
use std::str::FromStr;
|
||||||
use std::time::Instant;
|
use std::time::{Duration, Instant};
|
||||||
|
|
||||||
use byte_unit::Byte;
|
use byte_unit::Byte;
|
||||||
use eyre::Result;
|
use eyre::Result;
|
||||||
@ -267,10 +267,6 @@ impl Performer for DocumentAddition {
|
|||||||
return Err(error.into());
|
return Err(error.into());
|
||||||
}
|
}
|
||||||
|
|
||||||
std::thread::spawn(move || {
|
|
||||||
progesses.join().unwrap();
|
|
||||||
});
|
|
||||||
|
|
||||||
let result = addition.execute()?;
|
let result = addition.execute()?;
|
||||||
|
|
||||||
txn.commit()?;
|
txn.commit()?;
|
||||||
@ -287,18 +283,19 @@ fn indexing_callback(step: milli::update::UpdateIndexingStep, bars: &[ProgressBa
|
|||||||
let prev = &bars[step_index - 1];
|
let prev = &bars[step_index - 1];
|
||||||
if !prev.is_finished() {
|
if !prev.is_finished() {
|
||||||
prev.disable_steady_tick();
|
prev.disable_steady_tick();
|
||||||
prev.finish_at_current_pos();
|
prev.finish();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
let style = ProgressStyle::default_bar()
|
let style = ProgressStyle::default_bar()
|
||||||
|
.progress_chars("##-")
|
||||||
.template("[eta: {eta_precise}] {bar:40.cyan/blue} {pos:>7}/{len:7} {msg}")
|
.template("[eta: {eta_precise}] {bar:40.cyan/blue} {pos:>7}/{len:7} {msg}")
|
||||||
.progress_chars("##-");
|
.unwrap();
|
||||||
|
|
||||||
match step {
|
match step {
|
||||||
RemapDocumentAddition { documents_seen } => {
|
RemapDocumentAddition { documents_seen } => {
|
||||||
bar.set_style(ProgressStyle::default_spinner());
|
bar.set_style(ProgressStyle::default_spinner());
|
||||||
bar.set_message(format!("remaped {} documents so far.", documents_seen));
|
bar.set_message(format!("remapped {} documents so far.", documents_seen));
|
||||||
}
|
}
|
||||||
ComputeIdsAndMergeDocuments { documents_seen, total_documents } => {
|
ComputeIdsAndMergeDocuments { documents_seen, total_documents } => {
|
||||||
bar.set_style(style);
|
bar.set_style(style);
|
||||||
@ -319,7 +316,7 @@ fn indexing_callback(step: milli::update::UpdateIndexingStep, bars: &[ProgressBa
|
|||||||
bar.set_position(databases_seen as u64);
|
bar.set_position(databases_seen as u64);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
bar.enable_steady_tick(200);
|
bar.enable_steady_tick(Duration::from_millis(200));
|
||||||
}
|
}
|
||||||
|
|
||||||
fn documents_from_jsonl(reader: impl Read) -> Result<Vec<u8>> {
|
fn documents_from_jsonl(reader: impl Read) -> Result<Vec<u8>> {
|
||||||
@ -520,10 +517,6 @@ impl Performer for SettingsUpdate {
|
|||||||
bars.push(bar);
|
bars.push(bar);
|
||||||
}
|
}
|
||||||
|
|
||||||
std::thread::spawn(move || {
|
|
||||||
progesses.join().unwrap();
|
|
||||||
});
|
|
||||||
|
|
||||||
update.execute(|step| indexing_callback(step, &bars))?;
|
update.execute(|step| indexing_callback(step, &bars))?;
|
||||||
|
|
||||||
txn.commit()?;
|
txn.commit()?;
|
||||||
|
@ -6,8 +6,8 @@ description = "The parser for the Meilisearch filter syntax"
|
|||||||
publish = false
|
publish = false
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
nom = "7.1.0"
|
nom = "7.1.1"
|
||||||
nom_locate = "4.0.0"
|
nom_locate = "4.0.0"
|
||||||
|
|
||||||
[dev-dependencies]
|
[dev-dependencies]
|
||||||
insta = "1.18.2"
|
insta = "1.21.0"
|
||||||
|
@ -10,7 +10,7 @@ publish = false
|
|||||||
serde_json = "1.0"
|
serde_json = "1.0"
|
||||||
|
|
||||||
[dev-dependencies]
|
[dev-dependencies]
|
||||||
criterion = { version = "0.3", features = ["html_reports"] }
|
criterion = { version = "0.4.0", features = ["html_reports"] }
|
||||||
|
|
||||||
[[bench]]
|
[[bench]]
|
||||||
name = "benchmarks"
|
name = "benchmarks"
|
||||||
|
@ -9,7 +9,7 @@ publish = false
|
|||||||
serde_json = "1.0"
|
serde_json = "1.0"
|
||||||
|
|
||||||
[dev-dependencies]
|
[dev-dependencies]
|
||||||
criterion = "0.3"
|
criterion = "0.4.0"
|
||||||
|
|
||||||
[[bench]]
|
[[bench]]
|
||||||
name = "depth"
|
name = "depth"
|
||||||
|
@ -7,51 +7,51 @@ edition = "2018"
|
|||||||
[dependencies]
|
[dependencies]
|
||||||
bimap = { version = "0.6.2", features = ["serde"] }
|
bimap = { version = "0.6.2", features = ["serde"] }
|
||||||
bincode = "1.3.3"
|
bincode = "1.3.3"
|
||||||
bstr = "0.2.17"
|
bstr = "1.0.1"
|
||||||
byteorder = "1.4.3"
|
byteorder = "1.4.3"
|
||||||
charabia = { version = "0.6.0", default-features = false }
|
charabia = { version = "0.6.0", default-features = false }
|
||||||
concat-arrays = "0.1.2"
|
concat-arrays = "0.1.2"
|
||||||
crossbeam-channel = "0.5.2"
|
crossbeam-channel = "0.5.6"
|
||||||
either = "1.6.1"
|
either = "1.8.0"
|
||||||
flatten-serde-json = { path = "../flatten-serde-json" }
|
flatten-serde-json = { path = "../flatten-serde-json" }
|
||||||
fst = "0.4.7"
|
fst = "0.4.7"
|
||||||
fxhash = "0.2.1"
|
fxhash = "0.2.1"
|
||||||
geoutils = "0.4.1"
|
geoutils = "0.5.1"
|
||||||
grenad = { version = "0.4.3", default-features = false, features = ["tempfile"] }
|
grenad = { version = "0.4.3", default-features = false, features = ["tempfile"] }
|
||||||
heed = { git = "https://github.com/meilisearch/heed", tag = "v0.12.3", default-features = false, features = ["lmdb", "sync-read-txn"] }
|
heed = { git = "https://github.com/meilisearch/heed", tag = "v0.12.3", default-features = false, features = ["lmdb", "sync-read-txn"] }
|
||||||
json-depth-checker = { path = "../json-depth-checker" }
|
json-depth-checker = { path = "../json-depth-checker" }
|
||||||
levenshtein_automata = { version = "0.2.1", features = ["fst_automaton"] }
|
levenshtein_automata = { version = "0.2.1", features = ["fst_automaton"] }
|
||||||
memmap2 = "0.5.3"
|
memmap2 = "0.5.7"
|
||||||
obkv = "0.2.0"
|
obkv = "0.2.0"
|
||||||
once_cell = "1.10.0"
|
once_cell = "1.15.0"
|
||||||
ordered-float = "2.10.0"
|
ordered-float = "3.2.0"
|
||||||
rayon = "1.5.1"
|
rayon = "1.5.3"
|
||||||
roaring = "0.9.0"
|
roaring = "0.10.1"
|
||||||
rstar = { version = "0.9.2", features = ["serde"] }
|
rstar = { version = "0.9.3", features = ["serde"] }
|
||||||
serde = { version = "1.0.136", features = ["derive"] }
|
serde = { version = "1.0.145", features = ["derive"] }
|
||||||
serde_json = { version = "1.0.79", features = ["preserve_order"] }
|
serde_json = { version = "1.0.85", features = ["preserve_order"] }
|
||||||
slice-group-by = "0.3.0"
|
slice-group-by = "0.3.0"
|
||||||
smallstr = { version = "0.3.0", features = ["serde"] }
|
smallstr = { version = "0.3.0", features = ["serde"] }
|
||||||
smallvec = "1.8.0"
|
smallvec = "1.10.0"
|
||||||
smartstring = "1.0.1"
|
smartstring = "1.0.1"
|
||||||
tempfile = "3.3.0"
|
tempfile = "3.3.0"
|
||||||
thiserror = "1.0.31"
|
thiserror = "1.0.37"
|
||||||
time = { version = "0.3.7", features = ["serde-well-known", "formatting", "parsing", "macros"] }
|
time = { version = "0.3.15", features = ["serde-well-known", "formatting", "parsing", "macros"] }
|
||||||
uuid = { version = "1.1.2", features = ["v4"] }
|
uuid = { version = "1.1.2", features = ["v4"] }
|
||||||
|
|
||||||
filter-parser = { path = "../filter-parser" }
|
filter-parser = { path = "../filter-parser" }
|
||||||
|
|
||||||
# documents words self-join
|
# documents words self-join
|
||||||
itertools = "0.10.3"
|
itertools = "0.10.5"
|
||||||
|
|
||||||
# logging
|
# logging
|
||||||
log = "0.4.14"
|
log = "0.4.17"
|
||||||
logging_timer = "1.1.0"
|
logging_timer = "1.1.0"
|
||||||
csv = "1.1.6"
|
csv = "1.1.6"
|
||||||
|
|
||||||
[dev-dependencies]
|
[dev-dependencies]
|
||||||
big_s = "1.0.2"
|
big_s = "1.0.2"
|
||||||
insta = "1.18.1"
|
insta = "1.21.0"
|
||||||
maplit = "1.0.2"
|
maplit = "1.0.2"
|
||||||
md5 = "0.7.0"
|
md5 = "0.7.0"
|
||||||
rand = "0.8.5"
|
rand = "0.8.5"
|
||||||
|
Loading…
Reference in New Issue
Block a user