hr-id

Crates.iohr-id
lib.rshr-id
version0.6.0
sourcesrc
created_at2022-02-25 14:35:28.080651
updated_at2024-08-13 23:03:32.234477
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
size23,112
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