3 stable releases

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

#144 in Compression

Download history 39/week @ 2024-11-14 20/week @ 2024-11-21 44/week @ 2024-11-28 45/week @ 2024-12-05 62/week @ 2024-12-12 17/week @ 2024-12-19 8/week @ 2024-12-26 24/week @ 2025-01-02 63/week @ 2025-01-09 34/week @ 2025-01-16 53/week @ 2025-01-23 52/week @ 2025-01-30 96/week @ 2025-02-06 144/week @ 2025-02-13 111/week @ 2025-02-20 122/week @ 2025-02-27

484 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
~238K SLoC