#varint #leb128 #protobuf #no-alloc

no-std varing

Protobuf's varint encoding/decoding for LEB128 friendly types with full const context operations supports

2 unstable releases

new 0.5.0 Apr 3, 2025
0.4.1 Mar 30, 2025

#949 in Encoding

Download history 98/week @ 2025-03-26

98 downloads per month

MIT/Apache

175KB
4K SLoC

varing

Protobuf's varint encoding/decoding for LEB128 friendly types with full const context operations supports.

github LoC Build codecov

docs.rs crates.io crates.io license

Installation

[dependencies]
varing = "0.5"

Optional Features

Testing

This crate is tested with the quickcheck crate and cargo fuzz (including all optional features).

License

varing is under the terms of both the MIT license and the Apache License (Version 2.0).

See LICENSE-APACHE, LICENSE-MIT for details.

Copyright (c) 2025 Al Liu.

Dependencies

~0.2–1.7MB
~33K SLoC