mirror of
https://github.com/meilisearch/meilisearch.git
synced 2024-11-30 00:55:00 +08:00
Merge pull request #579 from meilisearch/update-deps
Update dependencies
This commit is contained in:
commit
3a88910a24
1576
Cargo.lock
generated
1576
Cargo.lock
generated
File diff suppressed because it is too large
Load Diff
@ -6,44 +6,44 @@ authors = ["Kerollmops <clement@meilisearch.com>"]
|
|||||||
edition = "2018"
|
edition = "2018"
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
arc-swap = "0.4.3"
|
arc-swap = "0.4.5"
|
||||||
bincode = "1.1.4"
|
bincode = "1.2.1"
|
||||||
byteorder = "1.3.2"
|
byteorder = "1.3.4"
|
||||||
chrono = { version = "0.4.9", features = ["serde"] }
|
chrono = { version = "0.4.11", features = ["serde"] }
|
||||||
compact_arena = "0.4.0"
|
compact_arena = "0.4.0"
|
||||||
crossbeam-channel = "0.4.0"
|
crossbeam-channel = "0.4.2"
|
||||||
deunicode = "1.0.0"
|
deunicode = "1.1.0"
|
||||||
env_logger = "0.7.0"
|
env_logger = "0.7.1"
|
||||||
fst = { version = "0.3.5", default-features = false }
|
fst = { version = "0.3.5", default-features = false }
|
||||||
hashbrown = { version = "0.6.0", features = ["serde"] }
|
hashbrown = { version = "0.7.1", features = ["serde"] }
|
||||||
heed = "0.6.1"
|
heed = "0.7.0"
|
||||||
indexmap = { version = "1.2.0", features = ["serde-1"] }
|
indexmap = { version = "1.3.2", features = ["serde-1"] }
|
||||||
intervaltree = "0.2.5"
|
intervaltree = "0.2.5"
|
||||||
itertools = "0.8.2"
|
itertools = "0.9.0"
|
||||||
levenshtein_automata = { version = "0.1.1", features = ["fst_automaton"] }
|
levenshtein_automata = { version = "0.1.1", features = ["fst_automaton"] }
|
||||||
log = "0.4.8"
|
log = "0.4.8"
|
||||||
meilisearch-schema = { path = "../meilisearch-schema", version = "0.9.0" }
|
meilisearch-schema = { path = "../meilisearch-schema", version = "0.9.0" }
|
||||||
meilisearch-tokenizer = { path = "../meilisearch-tokenizer", version = "0.9.0" }
|
meilisearch-tokenizer = { path = "../meilisearch-tokenizer", version = "0.9.0" }
|
||||||
meilisearch-types = { path = "../meilisearch-types", version = "0.9.0" }
|
meilisearch-types = { path = "../meilisearch-types", version = "0.9.0" }
|
||||||
once_cell = "1.2.0"
|
once_cell = "1.3.1"
|
||||||
ordered-float = { version = "1.0.2", features = ["serde"] }
|
ordered-float = { version = "1.0.2", features = ["serde"] }
|
||||||
regex = "1.3.1"
|
regex = "1.3.6"
|
||||||
sdset = "0.3.6"
|
sdset = "0.4.0"
|
||||||
serde = { version = "1.0.101", features = ["derive"] }
|
serde = { version = "1.0.105", features = ["derive"] }
|
||||||
serde_json = "1.0.41"
|
serde_json = "1.0.50"
|
||||||
siphasher = "0.3.1"
|
siphasher = "0.3.2"
|
||||||
slice-group-by = "0.2.6"
|
slice-group-by = "0.2.6"
|
||||||
zerocopy = "0.2.8"
|
zerocopy = "0.3.0"
|
||||||
|
|
||||||
[dev-dependencies]
|
[dev-dependencies]
|
||||||
assert_matches = "1.3"
|
assert_matches = "1.3.0"
|
||||||
criterion = "0.3"
|
criterion = "0.3.1"
|
||||||
csv = "1.0.7"
|
csv = "1.1.3"
|
||||||
jemallocator = "0.3.2"
|
jemallocator = "0.3.2"
|
||||||
rustyline = { version = "5.0.0", default-features = false }
|
rustyline = { version = "6.0.0", default-features = false }
|
||||||
structopt = "0.3.2"
|
structopt = "0.3.12"
|
||||||
tempfile = "3.1.0"
|
tempfile = "3.1.0"
|
||||||
termcolor = "1.0.4"
|
termcolor = "1.1.0"
|
||||||
|
|
||||||
[[bench]]
|
[[bench]]
|
||||||
name = "search_benchmark"
|
name = "search_benchmark"
|
||||||
|
@ -14,15 +14,14 @@ name = "meilisearch"
|
|||||||
path = "src/main.rs"
|
path = "src/main.rs"
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
async-std = { version = "1.0.1", features = ["attributes"] }
|
async-std = { version = "1.5.0", features = ["attributes"] }
|
||||||
chrono = { version = "0.4.9", features = ["serde"] }
|
chrono = { version = "0.4.11", features = ["serde"] }
|
||||||
crossbeam-channel = "0.4.0"
|
crossbeam-channel = "0.4.2"
|
||||||
env_logger = "0.7.1"
|
env_logger = "0.7.1"
|
||||||
futures = "0.3.1"
|
futures = "0.3.4"
|
||||||
heed = "0.6.1"
|
heed = "0.7.0"
|
||||||
http = "0.1.19"
|
http = "0.1.19"
|
||||||
http-service = "0.4.0"
|
indexmap = { version = "1.3.2", features = ["serde-1"] }
|
||||||
indexmap = { version = "1.3.0", features = ["serde-1"] }
|
|
||||||
log = "0.4.8"
|
log = "0.4.8"
|
||||||
main_error = "0.1.0"
|
main_error = "0.1.0"
|
||||||
meilisearch-core = { path = "../meilisearch-core", version = "0.9.0" }
|
meilisearch-core = { path = "../meilisearch-core", version = "0.9.0" }
|
||||||
@ -30,21 +29,22 @@ meilisearch-schema = { path = "../meilisearch-schema", version = "0.9.0" }
|
|||||||
meilisearch-tokenizer = {path = "../meilisearch-tokenizer", version = "0.9.0"}
|
meilisearch-tokenizer = {path = "../meilisearch-tokenizer", version = "0.9.0"}
|
||||||
mime = "0.3.16"
|
mime = "0.3.16"
|
||||||
pretty-bytes = "0.2.2"
|
pretty-bytes = "0.2.2"
|
||||||
rand = "0.7.2"
|
rand = "0.7.3"
|
||||||
rayon = "1.2.0"
|
rayon = "1.3.0"
|
||||||
serde = { version = "1.0.101", features = ["derive"] }
|
serde = { version = "1.0.105", features = ["derive"] }
|
||||||
serde_json = { version = "1.0.41", features = ["preserve_order"] }
|
serde_json = { version = "1.0.50", features = ["preserve_order"] }
|
||||||
serde_qs = "0.5.1"
|
serde_qs = "0.5.2"
|
||||||
siphasher = "0.3.1"
|
|
||||||
structopt = "0.3.3"
|
|
||||||
sysinfo = "0.9.5"
|
|
||||||
tide = "0.6.0"
|
|
||||||
ureq = { version = "0.11.2", features = ["tls"], default-features = false }
|
|
||||||
walkdir = "2.2.9"
|
|
||||||
whoami = "0.6"
|
|
||||||
sha2 = "0.8.1"
|
sha2 = "0.8.1"
|
||||||
|
siphasher = "0.3.2"
|
||||||
|
structopt = "0.3.12"
|
||||||
|
sysinfo = "0.12.0"
|
||||||
|
tide = "0.6.0"
|
||||||
|
ureq = { version = "0.12.0", features = ["tls"], default-features = false }
|
||||||
|
walkdir = "2.3.1"
|
||||||
|
whoami = "0.8.1"
|
||||||
|
|
||||||
[dev-dependencies]
|
[dev-dependencies]
|
||||||
|
http-service = "0.4.0"
|
||||||
http-service-mock = "0.4.0"
|
http-service-mock = "0.4.0"
|
||||||
tempdir = "0.3.7"
|
tempdir = "0.3.7"
|
||||||
|
|
||||||
@ -53,7 +53,7 @@ git = "https://github.com/qdequele/assert-json-diff"
|
|||||||
branch = "master"
|
branch = "master"
|
||||||
|
|
||||||
[build-dependencies]
|
[build-dependencies]
|
||||||
vergen = "3.0.4"
|
vergen = "3.1.0"
|
||||||
|
|
||||||
[target.'cfg(unix)'.dependencies]
|
[target.'cfg(unix)'.dependencies]
|
||||||
jemallocator = "0.3.2"
|
jemallocator = "0.3.2"
|
||||||
|
@ -192,7 +192,7 @@ pub(crate) fn report(pid: Pid) -> SysInfo {
|
|||||||
|
|
||||||
info.memory_usage = sys.get_used_memory() as f64 / sys.get_total_memory() as f64 * 100.0;
|
info.memory_usage = sys.get_used_memory() as f64 / sys.get_total_memory() as f64 * 100.0;
|
||||||
|
|
||||||
for processor in sys.get_processor_list() {
|
for processor in sys.get_processors() {
|
||||||
info.processor_usage.push(processor.get_cpu_usage() * 100.0);
|
info.processor_usage.push(processor.get_cpu_usage() * 100.0);
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -200,8 +200,8 @@ pub(crate) fn report(pid: Pid) -> SysInfo {
|
|||||||
info.global.used_memory = sys.get_used_memory();
|
info.global.used_memory = sys.get_used_memory();
|
||||||
info.global.total_swap = sys.get_total_swap();
|
info.global.total_swap = sys.get_total_swap();
|
||||||
info.global.used_swap = sys.get_used_swap();
|
info.global.used_swap = sys.get_used_swap();
|
||||||
info.global.input_data = sys.get_network().get_income();
|
info.global.input_data = sys.get_networks().into_iter().map(|(_, n)| n.get_received()).sum::<u64>();
|
||||||
info.global.output_data = sys.get_network().get_outcome();
|
info.global.output_data = sys.get_networks().into_iter().map(|(_, n)| n.get_transmitted()).sum::<u64>();
|
||||||
|
|
||||||
if let Some(process) = sys.get_process(pid) {
|
if let Some(process) = sys.get_process(pid) {
|
||||||
info.process.memory = process.memory();
|
info.process.memory = process.memory();
|
||||||
@ -288,7 +288,7 @@ pub(crate) fn report_pretty(pid: Pid) -> SysInfoPretty {
|
|||||||
sys.get_used_memory() as f64 / sys.get_total_memory() as f64 * 100.0
|
sys.get_used_memory() as f64 / sys.get_total_memory() as f64 * 100.0
|
||||||
);
|
);
|
||||||
|
|
||||||
for processor in sys.get_processor_list() {
|
for processor in sys.get_processors() {
|
||||||
info.processor_usage
|
info.processor_usage
|
||||||
.push(format!("{:.1} %", processor.get_cpu_usage() * 100.0));
|
.push(format!("{:.1} %", processor.get_cpu_usage() * 100.0));
|
||||||
}
|
}
|
||||||
@ -297,8 +297,8 @@ pub(crate) fn report_pretty(pid: Pid) -> SysInfoPretty {
|
|||||||
info.global.used_memory = convert(sys.get_used_memory() as f64 * 1024.0);
|
info.global.used_memory = convert(sys.get_used_memory() as f64 * 1024.0);
|
||||||
info.global.total_swap = convert(sys.get_total_swap() as f64 * 1024.0);
|
info.global.total_swap = convert(sys.get_total_swap() as f64 * 1024.0);
|
||||||
info.global.used_swap = convert(sys.get_used_swap() as f64 * 1024.0);
|
info.global.used_swap = convert(sys.get_used_swap() as f64 * 1024.0);
|
||||||
info.global.input_data = convert(sys.get_network().get_income() as f64);
|
info.global.input_data = convert(sys.get_networks().into_iter().map(|(_, n)| n.get_received()).sum::<u64>() as f64);
|
||||||
info.global.output_data = convert(sys.get_network().get_outcome() as f64);
|
info.global.output_data = convert(sys.get_networks().into_iter().map(|(_, n)| n.get_transmitted()).sum::<u64>() as f64);
|
||||||
|
|
||||||
if let Some(process) = sys.get_process(pid) {
|
if let Some(process) = sys.get_process(pid) {
|
||||||
info.process.memory = convert(process.memory() as f64 * 1024.0);
|
info.process.memory = convert(process.memory() as f64 * 1024.0);
|
||||||
|
@ -6,8 +6,8 @@ authors = ["Kerollmops <renault.cle@gmail.com>"]
|
|||||||
edition = "2018"
|
edition = "2018"
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
bincode = "1.1.2"
|
bincode = "1.2.1"
|
||||||
indexmap = { version = "1.1.0", features = ["serde-1"] }
|
indexmap = { version = "1.3.2", features = ["serde-1"] }
|
||||||
serde = { version = "1.0.91", features = ["derive"] }
|
serde = { version = "1.0.105", features = ["derive"] }
|
||||||
serde_json = { version = "1.0.39", features = ["preserve_order"] }
|
serde_json = { version = "1.0.50", features = ["preserve_order"] }
|
||||||
toml = { version = "0.5.0", features = ["preserve_order"] }
|
toml = { version = "0.5.6", features = ["preserve_order"] }
|
||||||
|
@ -6,5 +6,5 @@ authors = ["Kerollmops <renault.cle@gmail.com>"]
|
|||||||
edition = "2018"
|
edition = "2018"
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
deunicode = "1.0.0"
|
deunicode = "1.1.0"
|
||||||
slice-group-by = "0.2.4"
|
slice-group-by = "0.2.6"
|
||||||
|
@ -6,11 +6,11 @@ authors = ["Clément Renault <renault.cle@gmail.com>"]
|
|||||||
edition = "2018"
|
edition = "2018"
|
||||||
|
|
||||||
[dependencies.zerocopy]
|
[dependencies.zerocopy]
|
||||||
version = "0.2.8"
|
version = "0.3.0"
|
||||||
optional = true
|
optional = true
|
||||||
|
|
||||||
[dependencies.serde]
|
[dependencies.serde]
|
||||||
version = "1.0.101"
|
version = "1.0.105"
|
||||||
features = ["derive"]
|
features = ["derive"]
|
||||||
optional = true
|
optional = true
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user