3 unstable releases

0.2.0 Feb 8, 2023
0.1.1 Jan 22, 2023
0.1.0 Jan 10, 2023

#2346 in Rust patterns


Used in mini_leb128

MIT/Apache

29KB
557 lines

zc_io

This crate provides a zero-copy Read trait and a simplified Write trait useful for possibly no_std environments.

Build status Crates.io

Documentation

https://docs.rs/zc_io

Installation

This crate works with Cargo and is on crates.io. Add it to your Cargo.toml like so:

[dependencies]
zc_io = "0.2"

no_std crates

This crate has a feature, std, that is enabled by default. To use this crate in a no_std context, add the following to your Cargo.toml:

[dependencies]
zc_io = { version = "0.2", default-features = false }

License

This project is licensed under either of

at your option.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

No runtime deps

Features