Skip to content

alvra/unique-token

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Create unique tokens in Rust

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages