Skip to content

Commit

Permalink
chore: deps and refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
junkurihara committed Aug 30, 2024
1 parent 1d4b82e commit 190d474
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 13 deletions.
14 changes: 7 additions & 7 deletions httpsig-hyper/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,30 +15,30 @@ rust-version.workspace = true
[dependencies]
httpsig = { path = "../httpsig", version = "0.0.15" }

thiserror = { version = "1.0.58" }
thiserror = { version = "1.0.63" }
tracing = { version = "0.1.40" }
futures = { version = "0.3.30", default-features = false, features = [
"std",
"async-await",
] }
indexmap = { version = "2.2.6" }
indexmap = { version = "2.4.0" }

# content digest with rfc8941 structured field values
sha2 = { version = "0.10.8", default-features = false }
sfv = { version = "0.9.4" }

# encoding
base64 = { version = "0.22.0" }
base64 = { version = "0.22.1" }

# for request and response headers
http = { version = "1.1.0" }
http-body = { version = "1.0.0" }
http-body-util = { version = "0.1.1" }
bytes = { version = "1.6.0" }
http-body = { version = "1.0.1" }
http-body-util = { version = "0.1.2" }
bytes = { version = "1.7.1" }


[dev-dependencies]
tokio = { version = "1.37.0", default-features = false, features = [
tokio = { version = "1.39.3", default-features = false, features = [
"macros",
"rt-multi-thread",
] } # testing only
4 changes: 2 additions & 2 deletions httpsig-hyper/src/hyper_http.rs
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ where
T: SigningKey + Sync,
{
self
.set_message_signatures(&[(&signature_params, signing_key, signature_name)])
.set_message_signatures(&[(signature_params, signing_key, signature_name)])
.await
}

Expand Down Expand Up @@ -293,7 +293,7 @@ where
B: Sync,
{
self
.set_message_signatures(&[(&signature_params, signing_key, signature_name)], req_for_param)
.set_message_signatures(&[(signature_params, signing_key, signature_name)], req_for_param)
.await
}

Expand Down
8 changes: 4 additions & 4 deletions httpsig/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@ rust-version.workspace = true
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
thiserror = { version = "1.0.58" }
thiserror = { version = "1.0.63" }
tracing = { version = "0.1.40" }
rustc-hash = { version = "1.1.0" }
indexmap = { version = "2.2.6" }
indexmap = { version = "2.4.0" }
fxhash = { version = "0.2.1" }
rand = { version = "0.8.5" }

Expand All @@ -40,10 +40,10 @@ p384 = { version = "0.13.0", default-features = false, features = [
] }
hmac = { version = "0.12.1" }
sha2 = { version = "0.10.8", default-features = false }
bytes = { version = "1.6.0" }
bytes = { version = "1.7.1" }

# encoding
base64 = { version = "0.22.0" }
base64 = { version = "0.22.1" }

# for rfc8941 structured field values
sfv = { version = "0.9.4" }

0 comments on commit 190d474

Please sign in to comment.