1165: Bumps r=MarinPostma a=MarinPostma



Co-authored-by: mpostma <postma.marin@protonmail.com>
This commit is contained in:
bors[bot] 2021-01-05 12:55:50 +00:00 committed by GitHub
commit 9dd818ed7b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
8 changed files with 431 additions and 410 deletions

732
Cargo.lock generated

File diff suppressed because it is too large Load Diff

View File

@ -6,24 +6,24 @@ authors = ["Kerollmops <clement@meilisearch.com>"]
edition = "2018" edition = "2018"
[dependencies] [dependencies]
arc-swap = "0.4.5" arc-swap = "1.2.0"
bincode = "1.2.1" bincode = "1.3.1"
byteorder = "1.3.4" byteorder = "1.3.4"
chrono = { version = "0.4.19", features = ["serde"] } chrono = { version = "0.4.19", features = ["serde"] }
compact_arena = "0.4.0" compact_arena = "0.4.1"
cow-utils = "0.1.2" cow-utils = "0.1.2"
crossbeam-channel = "0.5.0" crossbeam-channel = "0.5.0"
deunicode = "1.1.0" deunicode = "1.1.1"
either = "1.5.3" either = "1.6.1"
env_logger = "0.8.2" env_logger = "0.8.2"
fst = "0.4.4" fst = "0.4.5"
hashbrown = { version = "0.9.0", features = ["serde"] } hashbrown = { version = "0.9.1", features = ["serde"] }
heed = "0.10.5" heed = "0.10.6"
indexmap = { version = "1.3.2", features = ["serde-1"] } indexmap = { version = "1.6.1", features = ["serde-1"] }
intervaltree = "0.2.5" intervaltree = "0.2.6"
itertools = "0.9.0" itertools = "0.10.0"
levenshtein_automata = { version = "0.2.0", features = ["fst_automaton"] } levenshtein_automata = { version = "0.2.0", features = ["fst_automaton"] }
log = "0.4.8" log = "0.4.11"
meilisearch-error = { path = "../meilisearch-error", version = "0.17.0" } meilisearch-error = { path = "../meilisearch-error", version = "0.17.0" }
meilisearch-schema = { path = "../meilisearch-schema", version = "0.17.0" } meilisearch-schema = { path = "../meilisearch-schema", version = "0.17.0" }
meilisearch-tokenizer = { path = "../meilisearch-tokenizer", version = "0.17.0" } meilisearch-tokenizer = { path = "../meilisearch-tokenizer", version = "0.17.0" }
@ -31,23 +31,23 @@ meilisearch-types = { path = "../meilisearch-types", version = "0.17.0" }
once_cell = "1.5.2" once_cell = "1.5.2"
ordered-float = { version = "2.0.1", features = ["serde"] } ordered-float = { version = "2.0.1", features = ["serde"] }
pest = { git = "https://github.com/pest-parser/pest.git", rev = "51fd1d49f1041f7839975664ef71fe15c7dcaf67" } pest = { git = "https://github.com/pest-parser/pest.git", rev = "51fd1d49f1041f7839975664ef71fe15c7dcaf67" }
pest_derive = "2.0" pest_derive = "2.1.0"
regex = "1.4.2" regex = "1.4.2"
sdset = "0.4.0" sdset = "0.4.0"
serde = { version = "1.0.117", features = ["derive"] } serde = { version = "1.0.118", features = ["derive"] }
serde_json = { version = "1.0.59", features = ["preserve_order"] } serde_json = { version = "1.0.61", features = ["preserve_order"] }
slice-group-by = "0.2.6" slice-group-by = "0.2.6"
unicase = "2.6.0" unicase = "2.6.0"
zerocopy = "0.3.0" zerocopy = "0.3.0"
[dev-dependencies] [dev-dependencies]
assert_matches = "1.4.0" assert_matches = "1.4.0"
criterion = "0.3.1" criterion = "0.3.3"
csv = "1.1.3" csv = "1.1.5"
rustyline = { version = "7.0.0", default-features = false } rustyline = { version = "7.1.0", default-features = false }
structopt = "0.3.20" structopt = "0.3.21"
tempfile = "3.1.0" tempfile = "3.1.0"
termcolor = "1.1.0" termcolor = "1.1.2"
[target.'cfg(unix)'.dev-dependencies] [target.'cfg(unix)'.dev-dependencies]
jemallocator = "0.3.2" jemallocator = "0.3.2"

View File

@ -5,4 +5,4 @@ authors = ["marin <postma.marin@protonmail.com>"]
edition = "2018" edition = "2018"
[dependencies] [dependencies]
actix-http = "2" actix-http = "2.2.0"

View File

@ -17,43 +17,43 @@ path = "src/main.rs"
default = ["sentry"] default = ["sentry"]
[dependencies] [dependencies]
actix-cors = "0.5.3" actix-cors = "0.5.4"
actix-http = "2" actix-http = "2.2.0"
actix-rt = "1" actix-rt = "1.1.1"
actix-service = "1.0.6" actix-service = "1.0.6"
actix-web = { version = "3.3.2", features = ["rustls"] } actix-web = { version = "3.3.2", features = ["rustls"] }
bytes = "0.6.0" bytes = "1.0.0"
chrono = { version = "0.4.19", features = ["serde"] } chrono = { version = "0.4.19", features = ["serde"] }
crossbeam-channel = "0.5.0" crossbeam-channel = "0.5.0"
env_logger = "0.8.2" env_logger = "0.8.2"
flate2 = "1.0.18" flate2 = "1.0.19"
futures = "0.3.7" futures = "0.3.8"
http = "0.2.1" http = "0.2.2"
indexmap = { version = "1.3.2", features = ["serde-1"] } indexmap = { version = "1.6.1", features = ["serde-1"] }
log = "0.4.8" log = "0.4.11"
main_error = "0.1.0" main_error = "0.1.1"
meilisearch-core = { path = "../meilisearch-core", version = "0.17.0" } meilisearch-core = { path = "../meilisearch-core", version = "0.17.0" }
meilisearch-error = { path = "../meilisearch-error", version = "0.17.0" } meilisearch-error = { path = "../meilisearch-error", version = "0.17.0" }
meilisearch-schema = { path = "../meilisearch-schema", version = "0.17.0" } meilisearch-schema = { path = "../meilisearch-schema", version = "0.17.0" }
meilisearch-tokenizer = {path = "../meilisearch-tokenizer", version = "0.17.0"} meilisearch-tokenizer = {path = "../meilisearch-tokenizer", version = "0.17.0"}
mime = "0.3.16" mime = "0.3.16"
once_cell = "1.5.2" once_cell = "1.5.2"
rand = "0.7.3" rand = "0.8.1"
regex = "1.4.2" regex = "1.4.2"
rustls = "0.18" rustls = "0.18.0"
serde = { version = "1.0.117", features = ["derive"] } serde = { version = "1.0.118", features = ["derive"] }
serde_json = { version = "1.0.59", features = ["preserve_order"] } serde_json = { version = "1.0.61", features = ["preserve_order"] }
serde_qs = "0.8.1" serde_qs = "0.8.2"
sha2 = "0.9.1" sha2 = "0.9.2"
siphasher = "0.3.2" siphasher = "0.3.3"
slice-group-by = "0.2.6" slice-group-by = "0.2.6"
structopt = "0.3.20" structopt = "0.3.21"
tar = "0.4.29" tar = "0.4.30"
tempfile = "3.1.0" tempfile = "3.1.0"
tokio = { version = "0.2.18", features = ["macros"] } tokio = { version = "0.2", features = ["macros"] }
ureq = { version = "1.5.1", features = ["tls"], default-features = false } ureq = { version = "2.0.0", features = ["tls"], default-features = false }
walkdir = "2.3.1" walkdir = "2.3.1"
whoami = "1.0.0" whoami = "1.0.3"
[dependencies.sentry] [dependencies.sentry]
version = "0.18.1" version = "0.18.1"
@ -73,7 +73,7 @@ optional = true
[dev-dependencies] [dev-dependencies]
serde_url_params = "0.2.0" serde_url_params = "0.2.0"
tempdir = "0.3.7" tempdir = "0.3.7"
tokio = { version = "0.2.18", features = ["macros", "time"] } tokio = { version = "0.2", features = ["macros", "time"] }
[dev-dependencies.assert-json-diff] [dev-dependencies.assert-json-diff]
git = "https://github.com/qdequele/assert-json-diff" git = "https://github.com/qdequele/assert-json-diff"

View File

@ -127,9 +127,14 @@ pub fn analytics_sender(data: Data, opt: Opt) {
let body = qs::to_string(&request).unwrap(); let body = qs::to_string(&request).unwrap();
let response = ureq::post("https://api.amplitude.com/httpapi").send_string(&body); let response = ureq::post("https://api.amplitude.com/httpapi").send_string(&body);
if !response.ok() { match response {
let body = response.into_string().unwrap(); Err(ureq::Error::Status(_ , response)) => {
error!("Unsuccessful call to Amplitude: {}", body); error!("Unsuccessful call to Amplitude: {}", response.into_string().unwrap_or_default());
}
Err(e) => {
error!("Unsuccessful call to Amplitude: {}", e);
}
_ => (),
} }
thread::sleep(Duration::from_secs(3600)) // one hour thread::sleep(Duration::from_secs(3600)) // one hour

View File

@ -6,8 +6,8 @@ authors = ["Kerollmops <renault.cle@gmail.com>"]
edition = "2018" edition = "2018"
[dependencies] [dependencies]
indexmap = { version = "1.3.2", features = ["serde-1"] } indexmap = { version = "1.6.1", features = ["serde-1"] }
meilisearch-error = { path = "../meilisearch-error", version = "0.17.0" } meilisearch-error = { path = "../meilisearch-error", version = "0.17.0" }
serde = { version = "1.0.117", features = ["derive"] } serde = { version = "1.0.118", features = ["derive"] }
serde_json = { version = "1.0.59", features = ["preserve_order"] } serde_json = { version = "1.0.61", features = ["preserve_order"] }
zerocopy = "0.3.0" zerocopy = "0.3.0"

View File

@ -6,5 +6,5 @@ authors = ["Kerollmops <renault.cle@gmail.com>"]
edition = "2018" edition = "2018"
[dependencies] [dependencies]
deunicode = "1.1.0" deunicode = "1.1.1"
slice-group-by = "0.2.6" slice-group-by = "0.2.6"

View File

@ -10,7 +10,7 @@ version = "0.3.0"
optional = true optional = true
[dependencies.serde] [dependencies.serde]
version = "1.0.117" version = "1.0.118"
features = ["derive"] features = ["derive"]
optional = true optional = true