hr-id

Crates.iohr-id
lib.rshr-id
version0.5.1
sourcesrc
created_at2022-02-25 14:35:28.080651
updated_at2023-12-20 05:23:30.965868
descriptionA human-readable unique ID which supports Unicode, safe for URLs and file paths
homepage
repositoryhttps://github.com/haydnv/hr-id.git
max_upload_size
id539464
size22,896
Haydn Vestal (haydnv)

documentation

README

hr-id

A human-readable unique ID for Rust which:

  • supports Unicode
  • disallows whitespace
  • disallows common control characters .. and each of /~$`&|=^{}<>'\?:@#()
  • disallows ASCII control characters (bytes with integer value < 32)
  • can be used to represent a domain name or URI segment but not an entire URL
  • implements From<Uuid>
  • implements Serialize and Deserialize with the serde feature
  • implements ToStream and FromStream with the destream feature
Commit count: 20

cargo fmt