Skip to content

Commit

Permalink
downgrade ring, get rid of zstd
Browse files Browse the repository at this point in the history
  • Loading branch information
aumetra committed Oct 19, 2023
1 parent 3cd82fc commit 2c0883f
Show file tree
Hide file tree
Showing 11 changed files with 24 additions and 80 deletions.
80 changes: 10 additions & 70 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion crates/kitsune-cache/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ redis = "0.23.3"
serde = "1.0.189"
simd-json = "0.12.0"
thiserror = "1.0.49"
tracing = "0.1.39"
tracing = "0.1.40"
typed-builder = "0.17.0"

[dev-dependencies]
Expand Down
2 changes: 1 addition & 1 deletion crates/kitsune-core/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ thiserror = "1.0.49"
time = "0.3.30"
tokio = { version = "1.33.0", features = ["macros", "rt"] }
toml = { version = "0.8.2", default-features = false, features = ["parse"] }
tracing = "0.1.39"
tracing = "0.1.40"
typed-builder = "0.17.0"
url = "2.4.1"
zxcvbn = { version = "2.2.2", default-features = false }
Expand Down
6 changes: 5 additions & 1 deletion crates/kitsune-http-client/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,11 @@ serde = "1.0.189"
simd-json = "0.12.0"
tower = { version = "0.4.13", features = ["util"] }
tower-http = { version = "0.4.4", features = [
"decompression-full",
#"decompression-full",
"decompression-br",
"decompression-deflate",
"decompression-gzip",

"follow-redirect",
"map-response-body",
"timeout",
Expand Down
2 changes: 1 addition & 1 deletion crates/kitsune-http-signatures/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ base64-simd = "0.8.0"
derive_builder = "0.12.0"
http = "0.2.9"
rayon = "1.8.0"
ring = { version = "0.17.4", features = ["std"] }
ring = { version = "0.16.20", features = ["std"] }
time = { version = "0.3.30", default-features = false, features = [
"formatting",
"parsing",
Expand Down
2 changes: 1 addition & 1 deletion crates/kitsune-http-signatures/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ impl SigningKey for Ed25519KeyPair {

impl SigningKey for RsaKeyPair {
fn sign(&self, msg: &[u8]) -> Vec<u8> {
let mut signature = vec![0; self.public().modulus_len()];
let mut signature = vec![0; self.public_modulus_len()];
self.sign(&RSA_PKCS1_SHA256, &SystemRandom::new(), msg, &mut signature)
.unwrap();

Expand Down
2 changes: 1 addition & 1 deletion crates/kitsune-messaging/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,4 @@ serde = "1.0.189"
simd-json = "0.12.0"
tokio = { version = "1.33.0", features = ["macros", "rt", "sync"] }
tokio-stream = { version = "0.1.14", features = ["sync"] }
tracing = "0.1.39"
tracing = "0.1.40"
2 changes: 1 addition & 1 deletion crates/kitsune-search/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ serde = { version = "1.0.189", features = ["derive"] }
speedy-uuid = { path = "../../lib/speedy-uuid" }
strum = { version = "0.25.0", features = ["derive"] }
thiserror = "1.0.49"
tracing = "0.1.39"
tracing = "0.1.40"

# "meilisearch" feature
meilisearch-sdk = { version = "0.24.2", optional = true }
Expand Down
2 changes: 1 addition & 1 deletion kitsune-job-runner/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,6 @@ kitsune-retry-policies = { path = "../crates/kitsune-retry-policies" }
mimalloc = "0.1.39"
tokio = { version = "1.33.0", features = ["full"] }
toml = "0.8.2"
tracing = "0.1.39"
tracing = "0.1.40"

[features]
2 changes: 1 addition & 1 deletion kitsune/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ tower-http = { version = "0.4.4", features = [
"timeout",
"trace",
] }
tracing = "0.1.39"
tracing = "0.1.40"
tracing-error = "0.2.0"
tracing-subscriber = "0.3.17"
typed-builder = "0.17.0"
Expand Down
2 changes: 1 addition & 1 deletion lib/athena/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ smol_str = "0.2.0"
speedy-uuid = { path = "../speedy-uuid", features = ["redis", "serde"] }
thiserror = "1.0.49"
tokio = { version = "1.33.0", features = ["macros", "rt", "sync"] }
tracing = "0.1.39"
tracing = "0.1.40"
typed-builder = "0.17.0"

[dev-dependencies]
Expand Down

0 comments on commit 2c0883f

Please sign in to comment.