#cast #upcasts #traits #any #rtti

macro no-std trait-cast-macros

Proc-macro implementation for the 'trait-cast' crate

8 releases

Uses new Rust 2024

0.4.0 Dec 10, 2025
0.3.7 Mar 25, 2025
0.3.6 Jan 22, 2025
0.3.5 Dec 23, 2024

#7 in #upcasts


Used in trait-cast

MIT/Apache

11KB
65 lines

Proc-macro automating the implementation of trait_cast::TraitcastableAny.

See derive_traitcastable_any for more details.


trait-cast-macros

Daily-Nightly Rust-Main-CI docs.rs crates.io rustc

Proc-macro automating the implementation of trait_cast::TraitcastableAny.

Usage

This crate is not meant to be used directly. Use the trait-cast crate instead.

Dependencies

~7–10MB
~126K SLoC