Closed tasn closed 2 years ago
Nice work! I like the idea of making the timestamp precision configurable.
Thanks for the sending the README update as well!
Thanks! In retrospect, I should have probably gone for an even higher accuracy, so another extra byte or half a byte. Maybe in a future version. ;)
When I created #49 I used the rust implementation that I thought was best based on looking at github/crates.io
Though having actually used it now, it's very much lacking, so I ended up implementing a new one that has a saner internal representation, integrates with the rest of the Rust ecosystem, and tests a good chunk of the KSUID value space for correctness, as can be seen in: https://github.com/svix/rust-ksuid/blob/main/tests/test_kuids.txt