#varint #protobuf #buffer #protocols #codec #google #read

yanked varmint

A Rust implementation of the varint codec as used in Google's Protocol Buffers

Uses old Rust 2015

0.1.3 Apr 29, 2018
0.1.2 Nov 5, 2016
0.1.1 Nov 3, 2016
0.1.0 Nov 1, 2016

#39 in #varint

33 downloads per month
Used in 6 crates (3 directly)

MIT/Apache

18KB
303 lines

varmint travis-badge cargo-badge license-badge

A Rust implementation of the varint codec as used in Google's Protocol Buffers. Adds read_*/write_* methods for various sizes of varints on top of the standard IO traits.

Developing

This project uses clippy and denies warnings in CI builds. To ensure your changes will be accepted please check them with cargo clippy (available via cargo install clippy on nightly rust) before submitting a pull request (along with cargo test as usual).

Both the nightly date and clippy version used in CI are pinned in the .travis.yml as clippy sometimes breaks for a few days after a new nightly is published, feel free to update to a new known good pair anytime as part of a pull request.

License

Licensed under either of

at your option.

Contribution

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

No runtime deps