14 releases (stable)

2.0.3 Nov 8, 2024
2.0.2 Sep 13, 2022
2.0.1 Aug 29, 2022
2.0.0 Jun 17, 2022
0.3.0 Oct 17, 2015

#92 in Encoding

Download history 15780/week @ 2024-08-04 11333/week @ 2024-08-11 17262/week @ 2024-08-18 21074/week @ 2024-08-25 17238/week @ 2024-09-01 17360/week @ 2024-09-08 13630/week @ 2024-09-15 17784/week @ 2024-09-22 23219/week @ 2024-09-29 22581/week @ 2024-10-06 20671/week @ 2024-10-13 22234/week @ 2024-10-20 19649/week @ 2024-10-27 112601/week @ 2024-11-03 169953/week @ 2024-11-10 148018/week @ 2024-11-17

450,818 downloads per month
Used in 38 crates (14 directly)

MIT license

45KB
1K SLoC

base62

A simple base62 encoder/decoder, typically used in URL shorteners. It supports the standard [0-9A-Za-z] and alternative [0-9a-zA-Z] variants.

Build status Crates.io Docs


lib.rs:

base62 is a no_std crate (requires alloc) that has six functions for encoding to and decoding from base62.

Build status Crates.io Docs

No runtime deps