dylanhart / ulid-rs

This is a Rust implementation of the ulid project
https://crates.io/crates/ulid
MIT License
385 stars 37 forks source link

Figure out what to do with overflowing ulid values #59

Open dylanhart opened 1 year ago

dylanhart commented 1 year ago

The binary representation of Ulid is 128 bits, but the base32 representation has 130 bits. Currently the highest two bits are ignored when parsing. This should likely return an error result instead. A new error when parsing will require a major version bump.