#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

#42 in #varint

Download history 9/week @ 2024-04-12 15/week @ 2024-04-19 9/week @ 2024-04-26 7/week @ 2024-05-03 5/week @ 2024-05-10 5/week @ 2024-05-17 7/week @ 2024-05-24 16/week @ 2024-05-31 10/week @ 2024-06-07 14/week @ 2024-06-14 20/week @ 2024-06-21 5/week @ 2024-06-28 4/week @ 2024-07-05 39/week @ 2024-07-12 41/week @ 2024-07-19 58/week @ 2024-07-26

142 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