diff --git a/crates/rmcp/Cargo.toml b/crates/rmcp/Cargo.toml index 16a813c0..f929646d 100644 --- a/crates/rmcp/Cargo.toml +++ b/crates/rmcp/Cargo.toml @@ -23,8 +23,7 @@ futures = "0.3" tracing = { version = "0.1" } tokio-util = { version = "0.7" } pin-project-lite = "0.2" -paste = { version = "1", optional = true } - +pastey = { version = "0.2.0", optional = true } # oauth2 support oauth2 = { version = "5.0", optional = true } @@ -79,7 +78,7 @@ chrono = { version = "0.4.38", default-features = false, features = [ default = ["base64", "macros", "server"] client = ["dep:tokio-stream"] server = ["transport-async-rw", "dep:schemars"] -macros = ["dep:rmcp-macros", "dep:paste"] +macros = ["dep:rmcp-macros", "dep:pastey"] elicitation = [] # reqwest http client diff --git a/crates/rmcp/src/lib.rs b/crates/rmcp/src/lib.rs index 3476390a..9f81eabe 100644 --- a/crates/rmcp/src/lib.rs +++ b/crates/rmcp/src/lib.rs @@ -167,7 +167,7 @@ pub mod transport; // re-export #[cfg(all(feature = "macros", feature = "server"))] #[cfg_attr(docsrs, doc(cfg(all(feature = "macros", feature = "server"))))] -pub use paste::paste; +pub use pastey::paste; #[cfg(all(feature = "macros", feature = "server"))] #[cfg_attr(docsrs, doc(cfg(all(feature = "macros", feature = "server"))))] pub use rmcp_macros::*; diff --git a/crates/rmcp/src/model/capabilities.rs b/crates/rmcp/src/model/capabilities.rs index 7399141f..cbe1a6ea 100644 --- a/crates/rmcp/src/model/capabilities.rs +++ b/crates/rmcp/src/model/capabilities.rs @@ -1,6 +1,6 @@ use std::{collections::BTreeMap, marker::PhantomData}; -use paste::paste; +use pastey::paste; use serde::{Deserialize, Serialize}; use super::JsonObject;