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

#55 in Encoding

Download history 288837/week @ 2024-12-17 121629/week @ 2024-12-24 181744/week @ 2024-12-31 352288/week @ 2025-01-07 412022/week @ 2025-01-14 398851/week @ 2025-01-21 434917/week @ 2025-01-28 445438/week @ 2025-02-04 482085/week @ 2025-02-11 380570/week @ 2025-02-18 341483/week @ 2025-02-25 737295/week @ 2025-03-04 478470/week @ 2025-03-11 283339/week @ 2025-03-18 299977/week @ 2025-03-25 266896/week @ 2025-04-01

1,431,148 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–6.5MB
~24K SLoC