Move whole rmcp crate to offcial rust sdk (#44)
* get rid of async-trait * move rmcp to official-rust-sdk * replace master with main * update readme, change license * fix typo * Update README.md Co-authored-by: Jefry Dewangga <jefrydco@gmail.com> * fix typos --------- Co-authored-by: = <=> Co-authored-by: Jefry Dewangga <jefrydco@gmail.com>
This commit is contained in:
parent
31493cfbcc
commit
0be6067326
1 changed files with 8676 additions and 4466 deletions
11
crates/rmcp-macros/src/lib.rs
Normal file
11
crates/rmcp-macros/src/lib.rs
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
#[allow(unused_imports)]
|
||||
use proc_macro::TokenStream;
|
||||
|
||||
mod tool;
|
||||
|
||||
#[proc_macro_attribute]
|
||||
pub fn tool(attr: TokenStream, input: TokenStream) -> TokenStream {
|
||||
tool::tool(attr.into(), input.into())
|
||||
.unwrap_or_else(|err| err.to_compile_error())
|
||||
.into()
|
||||
}
|
||||
Loading…
Reference in a new issue