3 stable releases

1.0.3 Sep 13, 2024
1.0.1 May 13, 2022
1.0.0 Aug 14, 2020

#34 in #identifier

Download history 88/week @ 2024-06-26 52/week @ 2024-07-03 71/week @ 2024-07-10 23/week @ 2024-07-17 20/week @ 2024-07-24 32/week @ 2024-07-31 4/week @ 2024-08-07 9/week @ 2024-08-14 51/week @ 2024-08-21 68/week @ 2024-08-28 53/week @ 2024-09-04 211/week @ 2024-09-11 140/week @ 2024-09-18 121/week @ 2024-09-25 93/week @ 2024-10-02 59/week @ 2024-10-09

421 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–13MB
~236K SLoC