clau-macros 0.1.1

Procedural macros for clau crate
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
//! Procedural macros for clau.rs

use proc_macro::TokenStream;

/// Derive macro for creating MCP tools
/// 
/// # Example
/// ```ignore
/// #[derive(Tool)]
/// #[tool(name = "calculator", description = "Performs calculations")]
/// struct Calculator;
/// ```
#[proc_macro_derive(Tool, attributes(tool))]
pub fn derive_tool(_input: TokenStream) -> TokenStream {
    // TODO: Implement Tool derive macro
    TokenStream::new()
}