dylanhart / ulid-rs

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

Add MAX and MIN Ulid values #61

Open jelle-bigbridge opened 1 year ago

jelle-bigbridge commented 1 year ago

These are useful when comparing ulids. So MIN would be the equivalent of 0 and MAX would be u128::MAX I think

I can see there is already a min() function but I think it would be useful if these values are available as constants, just like with the number types