| Crates.io | icarus-derive |
| lib.rs | icarus-derive |
| version | 0.6.0 |
| created_at | 2025-09-01 14:42:20.838927+00 |
| updated_at | 2025-09-13 17:31:50.970282+00 |
| description | Procedural macros for the Icarus SDK - enables automatic MCP tool metadata generation |
| homepage | https://github.com/galenoshea/icarus-sdk |
| repository | https://github.com/galenoshea/icarus-sdk |
| max_upload_size | |
| id | 1819748 |
| size | 110,356 |
Procedural macros for the Icarus SDK that enable automatic MCP tool metadata generation.
This crate provides:
#[icarus_module] - Generates tool metadata and exports for your canister#[icarus_tool] - Marks functions as MCP tools with automatic metadata#[derive(IcarusStorable)] - Enables types for stable storageThis crate is typically used as part of the main icarus SDK:
[dependencies]
icarus = "0.1"
Then use the macros in your code:
use icarus::prelude::*;
#[icarus_module]
mod tools {
#[update]
#[icarus_tool("Store a memory")]
pub fn memorize(content: String) -> Result<String, String> {
// Your implementation
}
}
Apache 2.0