chore(deps): update rand requirement from 0.9 to 0.10 (#650)
* chore(deps): update rand requirement from 0.9 to 0.10 Updates the requirements on [rand](https://github.com/rust-random/rand) to permit the latest version. - [Release notes](https://github.com/rust-random/rand/releases) - [Changelog](https://github.com/rust-random/rand/blob/master/CHANGELOG.md) - [Commits](https://github.com/rust-random/rand/compare/rand_core-0.9.1...0.10.0) --- updated-dependencies: - dependency-name: rand dependency-version: 0.10.0 dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com> * fix: update rand import from Rng to RngExt for rand 0.10 compatibility In rand 0.10, the Rng trait was renamed to RngExt. This updates the imports in the example servers to use the new trait name. --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Alex Hancock <alexhancock@block.xyz>
This commit is contained in:
parent
d9a5560953
commit
70f6380b48
6 changed files with 6 additions and 6 deletions
|
|
@ -54,7 +54,7 @@ process-wrap = { version = "9.0", features = ["tokio1"], optional = true }
|
|||
# tokio-tungstenite ={ version = "0.26", optional = true }
|
||||
|
||||
# for http-server transport
|
||||
rand = { version = "0.9", optional = true }
|
||||
rand = { version = "0.10", optional = true }
|
||||
tokio-stream = { version = "0.1", optional = true }
|
||||
uuid = { version = "1", features = ["v4"], optional = true }
|
||||
http-body = { version = "1", optional = true }
|
||||
|
|
|
|||
|
|
@ -20,7 +20,7 @@ serde = { version = "1.0", features = ["derive"] }
|
|||
serde_json = "1.0"
|
||||
tracing = "0.1"
|
||||
tracing-subscriber = { version = "0.3", features = ["env-filter"] }
|
||||
rand = "0.9"
|
||||
rand = "0.10"
|
||||
futures = "0.3"
|
||||
anyhow = "1.0"
|
||||
url = "2.4"
|
||||
|
|
|
|||
|
|
@ -32,7 +32,7 @@ tracing-subscriber = { version = "0.3", features = [
|
|||
"fmt",
|
||||
] }
|
||||
futures = "0.3"
|
||||
rand = { version = "0.9", features = ["std"] }
|
||||
rand = { version = "0.10", features = ["std"] }
|
||||
axum = { version = "0.8", features = ["macros"] }
|
||||
schemars = "1.0"
|
||||
reqwest = { version = "0.12", features = ["json"] }
|
||||
|
|
|
|||
|
|
@ -13,7 +13,7 @@ use axum::{
|
|||
response::{Html, IntoResponse, Redirect, Response},
|
||||
routing::{get, post},
|
||||
};
|
||||
use rand::{Rng, distr::Alphanumeric};
|
||||
use rand::{RngExt, distr::Alphanumeric};
|
||||
use rmcp::transport::{
|
||||
StreamableHttpServerConfig,
|
||||
streamable_http_server::{session::local::LocalSessionManager, tower::StreamableHttpService},
|
||||
|
|
|
|||
|
|
@ -11,7 +11,7 @@ use axum::{
|
|||
response::{Html, IntoResponse, Redirect, Response},
|
||||
routing::{get, post},
|
||||
};
|
||||
use rand::{Rng, distr::Alphanumeric};
|
||||
use rand::{RngExt, distr::Alphanumeric};
|
||||
use rmcp::transport::{
|
||||
StreamableHttpServerConfig,
|
||||
auth::{AuthorizationMetadata, ClientRegistrationResponse, OAuthClientConfig},
|
||||
|
|
|
|||
|
|
@ -36,7 +36,7 @@ tracing-subscriber = { version = "0.3", features = [
|
|||
"fmt",
|
||||
] }
|
||||
futures = "0.3"
|
||||
rand = { version = "0.9" }
|
||||
rand = { version = "0.10" }
|
||||
schemars = { version = "1.0", optional = true }
|
||||
hyper = { version = "1", features = ["client", "server", "http1"] }
|
||||
hyper-util = { version = "0.1", features = ["tokio"] }
|
||||
|
|
|
|||
Loading…
Reference in a new issue