3 stable releases

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

#123 in Compression

Download history 25/week @ 2024-10-16 26/week @ 2024-10-23 69/week @ 2024-10-30 12/week @ 2024-11-06 29/week @ 2024-11-13 31/week @ 2024-11-20 34/week @ 2024-11-27 52/week @ 2024-12-04 65/week @ 2024-12-11 21/week @ 2024-12-18 19/week @ 2025-01-01 71/week @ 2025-01-08 27/week @ 2025-01-15 58/week @ 2025-01-22 48/week @ 2025-01-29

206 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
~239K SLoC