Skip to content
/ cast-rs Public

A collection of types cast for Rust.

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT
Notifications You must be signed in to change notification settings

zTgx/cast-rs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.1"

and those to your crate root:

hex

use cast_rs::hex;

downcast

use cast_rs::downcast_rs::*;

slicecast

use cast_rs::slice_cast;

About

A collection of types cast for Rust.

Topics

Resources

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages