A collection of types cast for Rust.
This includes str, String, Vec, Hex, slice, Box...
cast-rs
is a meta-crate, re-exporting items from these sub-crates:
| Repository | Crate | Documentation |
| ---------- | ----- | ------------- |
| hex | |
| downcast-rs |
|
| slice-cast |
|
Note: cast-rs
is listed here for reference, but it's not directly included
in cast-rs
. This is a proc-macro
crate for deriving some of cast-rs
's traits.
Add this to your Cargo.toml
:
toml
[dependencies]
cast-rs = "0.1.2"
and this to your crate root:
rust
extern crate cast_rs;
Release notes are available in RELEASES.md.