Skip to content

Commit b6dcb28

Browse files
authored
chore: replace paste with pastey for macros feature (#564)
Signed-off-by: tanish111 <[email protected]>
1 parent 94428d5 commit b6dcb28

File tree

3 files changed

+4
-5
lines changed

3 files changed

+4
-5
lines changed

crates/rmcp/Cargo.toml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,7 @@ futures = "0.3"
2323
tracing = { version = "0.1" }
2424
tokio-util = { version = "0.7" }
2525
pin-project-lite = "0.2"
26-
paste = { version = "1", optional = true }
27-
26+
pastey = { version = "0.2.0", optional = true }
2827
# oauth2 support
2928
oauth2 = { version = "5.0", optional = true }
3029

@@ -79,7 +78,7 @@ chrono = { version = "0.4.38", default-features = false, features = [
7978
default = ["base64", "macros", "server"]
8079
client = ["dep:tokio-stream"]
8180
server = ["transport-async-rw", "dep:schemars"]
82-
macros = ["dep:rmcp-macros", "dep:paste"]
81+
macros = ["dep:rmcp-macros", "dep:pastey"]
8382
elicitation = []
8483

8584
# reqwest http client

crates/rmcp/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ pub mod transport;
167167
// re-export
168168
#[cfg(all(feature = "macros", feature = "server"))]
169169
#[cfg_attr(docsrs, doc(cfg(all(feature = "macros", feature = "server"))))]
170-
pub use paste::paste;
170+
pub use pastey::paste;
171171
#[cfg(all(feature = "macros", feature = "server"))]
172172
#[cfg_attr(docsrs, doc(cfg(all(feature = "macros", feature = "server"))))]
173173
pub use rmcp_macros::*;

crates/rmcp/src/model/capabilities.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
use std::{collections::BTreeMap, marker::PhantomData};
22

3-
use paste::paste;
3+
use pastey::paste;
44
use serde::{Deserialize, Serialize};
55

66
use super::JsonObject;

0 commit comments

Comments
 (0)