1 2 3 4 5 6 7 8 9 10
use rkyv::Archive; use rkyv_impl::archive_impl; #[derive(Archive)] pub struct Foo; #[archive_impl] impl Foo {} fn main() {}