unique-token

Crates.iounique-token
lib.rsunique-token
version0.2.0
sourcesrc
created_at2022-04-23 15:21:27.559527
updated_at2022-05-10 11:00:53.064699
descriptionCreate unique tokens
homepagehttps://github.com/alvra/unique-token
repositoryhttps://github.com/alvra/unique-token
max_upload_size
id572686
size15,815
Alexander van Ratingen (alvra)

documentation

https://docs.rs/unique-token

README

Unique-Token

Create unique tokens.

Example

use unique_token::Unique;

let x = Unique::new();
let y = Unique::new();

// different tokens are unequal
assert_ne!(x, y);

// clones are equal
assert_eq!(x, x.clone());
assert_eq!(y, y.clone());

Documentation

Documentation

Commit count: 5

cargo fmt