2 stable releases

1.0.1 May 13, 2022
1.0.0 Aug 14, 2020

#320 in Compression

Download history 36/week @ 2024-01-04 39/week @ 2024-01-11 200/week @ 2024-01-18 34/week @ 2024-01-25 40/week @ 2024-02-01 29/week @ 2024-02-08 26/week @ 2024-02-15 50/week @ 2024-02-22 78/week @ 2024-02-29 70/week @ 2024-03-07 77/week @ 2024-03-14 71/week @ 2024-03-21 72/week @ 2024-03-28 65/week @ 2024-04-04 36/week @ 2024-04-11 15/week @ 2024-04-18

190 downloads per month
Used in 3 crates (2 directly)

MPL-2.0 license

8KB
84 lines

slugid - Compressed UUIDs for Rust

A package for generating v4 UUIDs and encoding them into 22 character URL-safe base64 slug representation (see RFC 4648 sec. 5).

See https://github.com/taskcluster/slugid for more information on slugIds.


lib.rs:

Generate slugds.

Slugids are fixed-length (22 characters) URL-safe random identifiers. They contain enough entropy that for all practical purposes they can be considered unique.

See https://github.com/taskcluster/slugid for details.

Dependencies

~5.5–7.5MB
~223K SLoC