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

#82 in Encoding

Download history 17896/week @ 2024-08-30 17759/week @ 2024-09-06 13899/week @ 2024-09-13 17383/week @ 2024-09-20 21256/week @ 2024-09-27 23551/week @ 2024-10-04 20744/week @ 2024-10-11 21877/week @ 2024-10-18 21702/week @ 2024-10-25 79710/week @ 2024-11-01 172344/week @ 2024-11-08 153181/week @ 2024-11-15 112994/week @ 2024-11-22 82383/week @ 2024-11-29 163303/week @ 2024-12-06 127089/week @ 2024-12-13

518,081 downloads per month
Used in 44 crates (15 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