1#![doc = include_str!("../README.md")]
2#![no_std]
3#![expect(
4 unsafe_code,
5 reason = "The function transmutations require unsafe code."
6)]
7#![allow(incomplete_features)]
8#![feature(
9 const_type_name, min_specialization, ptr_metadata, doc_cfg )]
14#![cfg_attr(feature = "downcast_unchecked", feature(downcast_unchecked))]
15
16#[cfg(feature = "alloc")]
17extern crate alloc;
18
19mod trait_cast;
20pub use trait_cast::*;
21
22mod decl_macro;
23
24pub use trait_cast_macros::TraitcastableAny;
25
26#[cfg(test)]
27mod test;