Copy String
&str on the stack. Gains Copy semantics.
Development Note
This crate is in its infancy. Right now it is more an 'act on my inspiration quickly' than a fully featured library.
Now with serde!
Rust Docs
Installation
Add to your Cargo.toml:
[]
= "0.0.4"
Usage
Various fixed length strings are defined, s4, through to s32. Use TryFrom to convert a &str into a copy string. Alternatively, define your own custom lenght copy strings using the csstring macro.
To enable serde Serialize and Deserialize use the "serde" feature.
[]
= { = "0.0.4", = [ "serde" ] }