evil-id

Crates.ioevil-id
lib.rsevil-id
version0.1.3
created_at2025-08-10 03:59:25.223138+00
updated_at2025-12-01 01:19:50.631436+00
descriptionA very easy to use (and evil) id type.
homepage
repositoryhttps://github.com/the-aNamee/evil-id
max_upload_size
id1788475
size22,098
Anamee (the-aNamee)

documentation

README

This is a simple crate that I have created because I needed an id and I can't ever make things simple for myself.

EvilID is pretty simple.

let id: EvilID = EvilID::generate(); // A new id can be created with the generate function.

let id_string: String = id.get(); // The stringify function creates a 16 character string representing the id.

let also_id: EvilID = EvilID::new_from(id_string.clone()).expect("Shouldn't happen."); // We can get the id back from a String. MAke sure to give it a valid id string or it will throw an error.

let is_eq = id == also_id; // They should be the same.

println!("ID: {id_string}\nIs eq: {is_eq}");

This code will return something like:

ID: QFTF-PAMI-DGME-KJXA
Is eq: true




















What is so evil you might ask? Just look inside of the repo!

Commit count: 11

cargo fmt