dylanhart / ulid-rs

This is a Rust implementation of the ulid project

Home Page:https://crates.io/crates/ulid

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add MAX and MIN Ulid values

jelle-bigbridge opened this issue · comments

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