chore: replace paste with pastey for macros feature (#564)
Signed-off-by: tanish111 <tanishdesai37@gmail.com>
This commit is contained in:
parent
94428d543f
commit
b6dcb282d9
3 changed files with 4 additions and 5 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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::*;
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
use std::{collections::BTreeMap, marker::PhantomData};
|
||||
|
||||
use paste::paste;
|
||||
use pastey::paste;
|
||||
use serde::{Deserialize, Serialize};
|
||||
|
||||
use super::JsonObject;
|
||||
|
|
|
|||
Loading…
Reference in a new issue