Skip to content

Commit

Permalink
Upgrade Rust dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
bancek committed Oct 4, 2023
1 parent 6f1ea98 commit 277e7ca
Show file tree
Hide file tree
Showing 8 changed files with 240 additions and 260 deletions.
378 changes: 179 additions & 199 deletions Cargo.lock

Large diffs are not rendered by default.

14 changes: 7 additions & 7 deletions vault-core-tests/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,20 +4,20 @@ version = "0.1.0"
edition = "2021"

[dependencies]
async-trait = "0.1.68"
async-trait = "0.1.73"
axum = { version = "0.6.20", features = ["ws", "multipart", "http2"] }
env_logger = "0.10.0"
futures = "0.3.28"
log = "0.4.17"
reqwest = { version = "0.11.18", default-features = false, features = [
log = "0.4.20"
reqwest = { version = "0.11.21", default-features = false, features = [
"rustls-tls",
"stream",
] }
serde = "1.0.174"
serde_json = "1.0.96"
serde = "1.0.188"
serde_json = "1.0.107"
similar-asserts = "1.5.0"
tokio = { version = "1.28.1", features = ["full"] }
uuid = { version = "1.3.3", features = ["v4", "fast-rng"] }
tokio = { version = "1.32.0", features = ["full"] }
uuid = { version = "1.4.1", features = ["v4", "fast-rng"] }
vault-core = { path = "../vault-core" }
vault-fake-remote = { path = "../vault-fake-remote" }
vault-native = { path = "../vault-native" }
Expand Down
30 changes: 15 additions & 15 deletions vault-core/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,36 +7,36 @@ edition = "2021"
# eme-mode 0.2.1 does not compile with aes 0.8.1
aes = { version = "0.7.5", features = ["ctr"] }
async_zip_futures = { version = "0.0.12", features = ["chrono"] }
async-trait = "0.1.68"
bytes = "1.4.0"
chrono = { version = "0.4.24", default-features = false, features = ["clock"] }
async-trait = "0.1.73"
bytes = "1.5.0"
chrono = { version = "0.4.31", default-features = false, features = ["clock"] }
data-encoding = "2.4.0"
# eme-mode 0.3 is not correct for inputs longer than 16 bytes
eme-mode = "0.2.1"
futures = { version = "0.3.28", features = ["executor"] }
http = "0.2.9"
http-body = "0.4.5"
log = "0.4.17"
log = "0.4.20"
md5 = "0.7.0"
phf = { version = "0.11.1", features = ["macros"] }
pin-project-lite = "0.2.9"
phf = { version = "0.11.2", features = ["macros"] }
pin-project-lite = "0.2.13"
rand_core = "0.6.4"
rust-ini = "0.19.0"
# scrypt > 0.6 limits key len to 64, but we need 80, let's keep 0.2, it works
scrypt = { version = "0.2", default-features = false }
serde = { version = "1.0.163", features = ["derive"] }
serde_derive = "1.0.163"
serde_json = "1.0.96"
serde = { version = "1.0.188", features = ["derive"] }
serde_derive = "1.0.188"
serde_json = "1.0.107"
serde_urlencoded = "0.7.1"
slug = "0.1.4"
thiserror = "1.0.40"
url = "2.3.1"
urlencoding = "2.1.2"
uuid = { version = "1.3.3", features = ["v4", "fast-rng"] }
thiserror = "1.0.49"
url = "2.4.1"
urlencoding = "2.1.3"
uuid = { version = "1.4.1", features = ["v4", "fast-rng"] }
vault-store = { path = "../vault-store" }
xsalsa20poly1305 = "0.9.1"

[dev-dependencies]
futures-test = "0.3.28"
similar-asserts = "1.4.2"
regex = "1.8.2"
similar-asserts = "1.5.0"
regex = "1.9.6"
4 changes: 2 additions & 2 deletions vault-core/src/repo_files_read/mutations.rs
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ pub fn zip_date_time_from_millis(millis: i64) -> async_zip_futures::ZipDateTime
return async_zip_futures::ZipDateTime::default();
}

let modified = chrono::DateTime::from_utc(
let modified = chrono::DateTime::from_naive_utc_and_offset(
chrono::NaiveDateTime::from_timestamp_millis(millis).unwrap(),
chrono::Utc,
);
Expand Down Expand Up @@ -151,7 +151,7 @@ mod tests {
);

let dt = zip_date_time_from_millis(1678358492000);
let chrono_dt: chrono::DateTime<chrono::Utc> = chrono::DateTime::from_utc(
let chrono_dt: chrono::DateTime<chrono::Utc> = chrono::DateTime::from_naive_utc_and_offset(
chrono::NaiveDateTime::from_timestamp_millis(1678358492000).unwrap(),
chrono::Utc,
);
Expand Down
32 changes: 16 additions & 16 deletions vault-fake-remote/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,35 +4,35 @@ version = "0.1.0"
edition = "2021"

[dependencies]
async-trait = "0.1.68"
async-trait = "0.1.73"
axum = { version = "0.6.20", features = ["ws", "multipart", "http2"] }
axum-server = { version = "0.5.1", features = ["tls-rustls"] }
clap = { version = "4", features = ["derive"] }
clap = { version = "4.4.6", features = ["derive"] }
env_logger = "0.10.0"
futures = "0.3.28"
hex = "0.4.3"
http = "0.2.9"
log = "0.4.17"
log = "0.4.20"
mime = "0.3.17"
reqwest = { version = "0.11.18", default-features = false, features = [
reqwest = { version = "0.11.21", default-features = false, features = [
"rustls-tls",
"stream",
] }
rustls = { version = "0.21.1", features = ["dangerous_configuration"] }
serde = "1.0.174"
serde_json = "1.0.96"
sha1 = "0.10.5"
url = "2.3.1"
thiserror = "1.0.40"
tokio = { version = "1.28.1", features = ["full"] }
tower-http = { version = "0.4.3", features = ["cors", "fs"] }
tokio-tungstenite = { version = "0.19.0", features = [
rustls = { version = "0.21.7", features = ["dangerous_configuration"] }
serde = "1.0.188"
serde_json = "1.0.107"
sha1 = "0.10.6"
url = "2.4.1"
thiserror = "1.0.49"
tokio = { version = "1.32.0", features = ["full"] }
tower-http = { version = "0.4.4", features = ["cors", "fs"] }
tokio-tungstenite = { version = "0.20.1", features = [
"rustls-tls-webpki-roots",
] }
tokio-util = { version = "0.7.8", features = ["compat"] }
tokio-util = { version = "0.7.9", features = ["compat"] }
tower = "0.4.13"
urlencoding = "2.1.2"
uuid = { version = "1.3.3", features = ["v4", "fast-rng"] }
urlencoding = "2.1.3"
uuid = { version = "1.4.1", features = ["v4", "fast-rng"] }
vault-core = { path = "../vault-core" }

[lib]
Expand Down
4 changes: 2 additions & 2 deletions vault-file-icon/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@ version = "0.1.0"
edition = "2021"

[dependencies]
resvg = { version = "0.34.1", default-features = false, optional = true }
resvg = { version = "0.35.0", default-features = false, optional = true }
tiny-skia = { version = "0.10.0", default-features = false, features = [
"png-format",
"simd",
"std",
], optional = true }
usvg = { version = "0.34.1", default-features = false, optional = true }
usvg = { version = "0.35.0", default-features = false, optional = true }

[features]
default = ["render"]
Expand Down
14 changes: 7 additions & 7 deletions vault-native/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,21 +4,21 @@ version = "0.1.0"
edition = "2021"

[dependencies]
async-trait = "0.1.68"
async-trait = "0.1.73"
futures = "0.3.28"
http = "0.2.9"
log = "0.4.17"
reqwest = { version = "0.11.18", default-features = false, features = [
log = "0.4.20"
reqwest = { version = "0.11.21", default-features = false, features = [
"rustls-tls",
"stream",
] }
url = "2.3.1"
tokio = { version = "1.28.1", features = ["full"] }
tokio-tungstenite = { version = "0.19.0", features = [
url = "2.4.1"
tokio = { version = "1.32.0", features = ["full"] }
tokio-tungstenite = { version = "0.20.1", features = [
"rustls-tls-webpki-roots",
] }
vault-core = { path = "../vault-core" }
rustls = { version = "0.21.1", features = ["dangerous_configuration"] }
rustls = { version = "0.21.7", features = ["dangerous_configuration"] }

[dev-dependencies]
env_logger = "0.10.0"
24 changes: 12 additions & 12 deletions vault-wasm/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,25 +10,25 @@ crate-type = ["cdylib"]
default = ["console_error_panic_hook"]

[dependencies]
async-trait = "0.1.68"
async-trait = "0.1.71"
console_error_panic_hook = { version = "0.1.7", optional = true }
console_log = "1.0.0"
futures = "0.3.28"
getrandom = { version = "0.2.9", features = ["js"] }
gloo-timers = { version = "0.2.6", features = ["futures"] }
getrandom = { version = "0.2.10", features = ["js"] }
gloo-timers = { version = "0.3.0", features = ["futures"] }
http = "0.2.9"
js-sys = "0.3.63"
log = "0.4.17"
serde = { version = "1.0.163", features = ["derive"] }
serde-wasm-bindgen = "0.5.0"
thiserror = "1.0.40"
tsify = { version = "0.4.4", features = ["js"] }
js-sys = "0.3.64"
log = "0.4.20"
serde = { version = "1.0.188", features = ["derive"] }
serde-wasm-bindgen = "0.6.0"
thiserror = "1.0.49"
tsify = { version = "0.4.5", features = ["js"] }
vault-core = { path = "../vault-core" }
vault-file-icon = { path = "../vault-file-icon", default-features = false }
wasm-bindgen = "0.2.86"
wasm-bindgen-futures = "0.4.36"
wasm-bindgen = "0.2.87"
wasm-bindgen-futures = "0.4.37"
wasm-streams = { git = "https://github.com/MattiasBuelens/wasm-streams", rev = "c0b3ee7677a7aa75c9500fd4f24a52219e808762" }
web-sys = { version = "0.3.63", features = [
web-sys = { version = "0.3.64", features = [
'AbortController',
'AbortSignal',
'Blob',
Expand Down

0 comments on commit 277e7ca

Please sign in to comment.