This is neat OP.
Looking through the code and blown away by how small and clean it all is. Is everything really just abstracted away by those two imported crates?
Also a tad offtopic but what is with the rustfmt::skip attributes? Those constants look legit? Guess I should just clone the repo and find out.