17 releases

0.8.0 Nov 1, 2023
0.7.1 Nov 8, 2021
0.7.0 Feb 4, 2021
0.5.1 Sep 8, 2020
0.2.1 Sep 5, 2018

#73 in Encoding

Download history 438362/week @ 2025-01-30 472333/week @ 2025-02-06 438383/week @ 2025-02-13 356553/week @ 2025-02-20 469255/week @ 2025-02-27 722714/week @ 2025-03-06 349568/week @ 2025-03-13 288591/week @ 2025-03-20 278245/week @ 2025-03-27 288082/week @ 2025-04-03 260141/week @ 2025-04-10 251288/week @ 2025-04-17 299987/week @ 2025-04-24 245559/week @ 2025-05-01 259001/week @ 2025-05-08 228970/week @ 2025-05-15

1,096,657 downloads per month
Used in 1,448 crates (147 directly)

MIT license

29KB
456 lines

unsigned-varint encoding

Unsigned varint encodes unsigned integers in 7-bit groups. The most significant bit (MSB) in each byte indicates if another byte follows (MSB = 1), or not (MSB = 0).

For details see: https://github.com/multiformats/unsigned-varint

Dependencies

~0–6.5MB
~24K SLoC