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 clapme feature to create a ClapMe impl (for command-line arguments) #44

Closed droundy closed 6 years ago

droundy commented 6 years ago

This is a little silly, since ClapMe is so young, but I think it's relatively harmless. The idea is to make it so that one can automatically create command-line interfaces that then get translated into dimensioned quantity.

droundy commented 6 years ago

Sorry, I just noticed that this seems to break dimensioned when the clapme feature is not used. :(

paholg commented 6 years ago

Cool! The bug where this broke without the clapme flag makes me think I should probably also do tests without any features flags (ideally, it would be tested with every combination of features, but that's too many builds).