that is some ugly rust I have written, but at least I can now create UUIDv4s from /dev/urandom without having serde anywhere in the dependency chain.
Discussion
@aud HEY FUCK YEAH
the bad part about being totally fine jumping between different programming languages is being like, ugh, I keep trying to write {language X} in {language Y} and it's just annoying.
anyway this is basically me just converting some Chapel code I wrote like 6 years ago into Rust. Read em and weep (at how bad and ugly it is): https://codeberg.org/Astatide/osiris/src/branch/main/crates/uuid/src/lib.rs
(do I need to make each terribly named field of the UUID struct a character array? Probably not, but they are fixed size and while I'm sure there's something else decently fast... also that fmt function is nasty)