cast-rs 0.2.0

A collection of types cast for Rust.
Documentation

cast-rs

Travis status crate

A collection of types cast for Rust.

cast-rs is a meta-crate, re-exporting items from these sub-crates:

Repository Crate Documentation
hex crate documentation
downcast-rs crate documentation
slice-cast crate documentation

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.

Usage

Add this to your Cargo.toml:

[dependencies]
cast-rs = "0.2.0"

and those to your crate root:

hex

use cast_rs::hexcast;

downcast

extern crate cast_rs;
use cast_rs::downcast::*;

slicecast

use cast_rs::slicecast;

Releases

Release notes are available in RELEASES.md.