Expand description
§sassi-macros
Support proc-macro crate for Sassi: #[derive(Cacheable)] and
#[sassi::trait_impl].
Ordinary adopters depend on sassi, which re-exports these macros.
Macros call into sassi-codegen for the actual TokenStream
emission so the codegen logic stays in a regular library crate
that downstream macro crates (e.g., djogi-macros) can also
consume without running into proc-macro-cycle limitations.
Attribute Macros§
- trait_
impl - Attribute macro for registering a trait implementation with
Sassi::all_impl::<dyn Trait>().
Derive Macros§
- Cacheable
- Derive macro for
sassi::Cacheable.