13 releases (stable)

2.0.2 Sep 13, 2022
2.0.0 Jun 17, 2022
1.1.5 Nov 18, 2021
1.1.3 Jul 29, 2021
0.3.0 Oct 17, 2015

#224 in Encoding

Download history 2536/week @ 2023-06-09 2299/week @ 2023-06-16 1624/week @ 2023-06-23 1984/week @ 2023-06-30 2567/week @ 2023-07-07 3025/week @ 2023-07-14 2105/week @ 2023-07-21 4395/week @ 2023-07-28 2952/week @ 2023-08-04 4339/week @ 2023-08-11 1547/week @ 2023-08-18 1140/week @ 2023-08-25 913/week @ 2023-09-01 1334/week @ 2023-09-08 1273/week @ 2023-09-15 868/week @ 2023-09-22

4,594 downloads per month
Used in 5 crates

MIT license

38KB
896 lines

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