2 releases (1 stable)

1.0.0 Feb 13, 2023

#1205 in Parser implementations

Download history 11/week @ 2023-05-21 16/week @ 2023-05-28 23/week @ 2023-06-04 185/week @ 2023-06-11 128/week @ 2023-06-18 69/week @ 2023-06-25 79/week @ 2023-07-02 149/week @ 2023-07-09 87/week @ 2023-07-16 61/week @ 2023-07-23 30/week @ 2023-07-30 137/week @ 2023-08-06 120/week @ 2023-08-13 34/week @ 2023-08-20 27/week @ 2023-08-27 53/week @ 2023-09-03

243 downloads per month
Used in 11 crates (4 directly)

MIT/Apache

24KB
503 lines

base64uuid

Base64Uuid type for representing base64url-encoded UUIDs.

The main motivation for using these is that their representation is slightly more compact compared to standard UUID string representation, and they look a bit better in URLs.

In addition, any UUIDs generated by this crate are chosen such that their string representations do not start with a dash (-), in order to avoid conflicts if they're used as command-line arguments.

Feature flags

  • creation: Allows creating Base64Uuid and Uuid directly (enabled by default)
  • fp-bindgen: Allows using Base64Uuid within fp-bindgen structs

Dependencies

~0.8–6MB
~134K SLoC