#uuid #ksuid #segment #io #format

rksuid

Rust implementation of the Segment.io KSUID format

5 unstable releases

0.4.0 Nov 26, 2019
0.3.1 Sep 23, 2019
0.3.0 Sep 23, 2019
0.2.1 Sep 18, 2019
0.2.0 Sep 16, 2019

#54 in #segment

25 downloads per month

MIT license

2MB
123 lines

rksuid

Rust implementation of Segment.io's ksuid

I have no association with Segment, just a fan of the format.

Inspiration

Segment published a nifty UUID format and I thought it'd be fun to implement a compatible version in pure Rust as a way to learn the language more thoroughly and keep myself sharp while looking for a new coding gig.

Documentation

https://docs.rs/rksuid/

Benchmarks

https://nharring.github.io/rksuid/criterion/report/index.html https://nharring.github.io/rksuid/criterion/gen_payloads/rng_/report/index.html


lib.rs:

Module for creating, representing and transforming K-Sortable UIDs as described by Segment.io

Dependencies

~5MB
~87K SLoC