| Crates.io | timeflake |
| lib.rs | timeflake |
| version | 0.1.0 |
| created_at | 2025-03-30 23:38:33.338508+00 |
| updated_at | 2025-03-30 23:38:33.338508+00 |
| description | Rust port of Timeflake, a 128-bit, roughly-ordered, URL-safe UUID |
| homepage | |
| repository | |
| max_upload_size | |
| id | 1612875 |
| size | 55,149 |
Rust port of Timeflake, a 128-bit, roughly-ordered, URL-safe UUID.
Original work can be found at anthonynsimon/timeflake.
[dependencies]
timeflake = "0.1.0"
or
cargo add timeflake
use timeflake::Timeflake;
fn main() {
let mut rng = rand::rng();
let flake = Timeflake::new_random(&mut rng);
println!("{flake}");
}
std: Allow no_std environments. This is on by default.uuid: Allow use of uuid crate. This is on by default.Run benchmarks by follow command. It is recommended to have gnuplot installed.
cargo bench