Skip to main content

Crate everruns_macros

Crate everruns_macros 

Source
Expand description

Procedural macros for the everruns agentic framework.

This crate is an implementation detail of everruns: the tool attribute is re-exported as everruns::tool behind the default-enabled macros feature, and end users depend on everruns, not on this crate. All code the macro emits is resolved through ::everruns::__macro_support::…, so no direct dependency on serde, schemars, or serde_json is required in the calling crate. It is part of the Everruns ecosystem.

§Example

Applications use the re-export from everruns; this implementation crate exposes the same attribute symbol:

use everruns_macros::tool;

let macro_name = stringify!(tool);
assert_eq!(macro_name, "tool");

Attribute Macros§

tool
Turn a typed async function into an agent tool.