Skip to content

Commit 77eb607

Browse files
chore(deps): update hmac requirement from 0.12 to 0.13 (#988)
* chore(deps): update hmac requirement from 0.12 to 0.13 Updates the requirements on [hmac](https://github.com/RustCrypto/MACs) to permit the latest version. - [Commits](RustCrypto/MACs@hmac-v0.12.0...hmac-v0.13.0) --- updated-dependencies: - dependency-name: hmac dependency-version: 0.13.0 dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com> * fix: align hmac and sha2 digest versions --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Dale Seo <5466341+DaleSeo@users.noreply.github.com>
1 parent 7824bfd commit 77eb607

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

crates/rmcp/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,8 +66,8 @@ schemars = { version = "1.0", optional = true, features = ["chrono04"] }
6666
base64 = { version = "0.22", optional = true }
6767

6868
# for SEP-2322 requestState integrity sealing (opt-in via the `request-state` feature)
69-
hmac = { version = "0.12", optional = true }
70-
sha2 = { version = "0.10", optional = true }
69+
hmac = { version = "0.13", optional = true }
70+
sha2 = { version = "0.11", optional = true }
7171

7272
# for HTTP client
7373
reqwest = { version = "0.13.2", default-features = false, features = [

crates/rmcp/src/model/request_state.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@
6363
use std::time::Duration;
6464

6565
use base64::{Engine, engine::general_purpose::URL_SAFE_NO_PAD};
66-
use hmac::{Hmac, Mac};
66+
use hmac::{Hmac, KeyInit, Mac};
6767
use serde::{Serialize, de::DeserializeOwned};
6868
use sha2::Sha256;
6969
use thiserror::Error;

0 commit comments

Comments
 (0)