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

#51 in Encoding

Download history 325050/week @ 2024-12-14 118667/week @ 2024-12-21 156341/week @ 2024-12-28 311222/week @ 2025-01-04 423115/week @ 2025-01-11 385419/week @ 2025-01-18 422247/week @ 2025-01-25 456488/week @ 2025-02-01 479528/week @ 2025-02-08 398540/week @ 2025-02-15 347792/week @ 2025-02-22 677644/week @ 2025-03-01 553031/week @ 2025-03-08 290060/week @ 2025-03-15 302853/week @ 2025-03-22 219933/week @ 2025-03-29

1,497,781 downloads per month
Used in 1,421 crates (146 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–6MB
~25K SLoC