I was playing around with the NewType pattern in Rust by coding a set of length quantity types. As usual, that means a set of similar crates wandered into my view:
- https://docs.rs/uom/latest/uom/
- https://crates.io/crates/diman
I was playing around with the NewType pattern in Rust by coding a set of length quantity types. As usual, that means a set of similar crates wandered into my view: