oats-rs 0.1.1

Short, unique ids without the hassle of random uuids.
Documentation

oats

Used 'nightly' toolchain Version 0.1.0

Short, unique ids without the hassle of random uuids.

Thanks

Getting started

Adding library to project

cargo add oats-rs

Using it to generate unique identifiers

    use oats::bowl::{GenerationBehavior, WrappedBowl};
    use std::time::SystemTime;
    
    let wrapped_bowl = WrappedBowl::of(1, GenerationBehavior::Normal, Some(SystemTime::now()));
    let oat = wrapped_bowl.generate();
    
    assert_eq!(oat.node(), 1);