paholg / dimensioned

Compile-time dimensional analysis for various unit systems using Rust's type system.
https://crates.io/crates/dimensioned
MIT License
300 stars 23 forks source link

add implementation for rand traits on dimensioned types #45

Closed droundy closed 6 years ago

droundy commented 6 years ago

This will allow users to directly create random values with dimensions, which seems like a significant win.

paholg commented 6 years ago

Also, @droundy, by a request, I would like to bump the version and deploy dimensioned to crates today (as I am unlikely to have time this week).

If you can get this mergeable sometime today, it could join that deploy. Otherwise, we can also bump the version again.

droundy commented 6 years ago

Hi @paholg, I've done the merge, and also added a little script to test feature combinations.