rkyv_typename 0.6.0

Customizable naming for types
Documentation
# rkyv_typename   [![Latest Version]][crates.io] [![License]][license path] [![requires: rustc 1.47+]][Rust 1.47]


[Latest Version]: https://img.shields.io/crates/v/rkyv_typename.svg
[crates.io]: https://crates.io/crates/rkyv_typename
[License]: https://img.shields.io/badge/license-MIT-blue.svg
[license path]: https://github.com/djkoloski/rkyv/blob/master/LICENSE
[requires: rustc 1.47+]: https://img.shields.io/badge/rustc-1.47+-lightgray.svg
[Rust 1.47]: https://blog.rust-lang.org/2020/10/08/Rust-1.47.html

rkyv_typename adds type names for rkyv_dyn.

---

## API Documentation


- [rkyv]https://docs.rs/rkyv, the core library
- [rkyv_dyn]https://docs.rs/rkyv_dyn, which adds trait object support to rkyv
- [rkyv_typename]https://docs.rs/rkyv_typename, a type naming library

## Book


- The [rkyv book]https://djkoloski.github.io/rkyv covers the motivation and architecture of rkyv

## Sister Crates:


- [bytecheck]https://github.com/djkoloski/bytecheck, which rkyv uses for validation
- [ptr_meta]https://github.com/djkoloski/ptr_meta, which rkyv uses for pointer manipulation

---

## rkyv_typename in action


```rust
use rkyv_typename::TypeName;

#[derive(TypeName)]

#[typename = "CoolType"]

struct Example<T>(T);

fn main() {
    let mut type_name = String::new();
    Example::<i32>::build_type_name(|piece| type_name += piece);
    assert_eq!(type_name, "CoolType<i32>");
}
```