This project follows semantic versioning.
- [fixed] A compilation error with the
rand
feature. - [added] The optional
auto-args
feature to derive argument parsing. - [added] The static method
to_string
. - [changed] BREAKING The
new
method is now const. The_marker
field is now private. - [changed] BREAKING Reduced requirement of nightly for use in
no_std
(as introduced in 0.7.0) down to just unit system conversions andSqrt
/Root
traits. Everything else now works withno_std
on stable! Using unit system conversions and/orSqrt
/Root
traits withoutstd
now requires nightly Rust and thenightly
feature. Just like with 0.7.0 I don't think this will actually break anything, as things that were not working before on stable now are working, but is at least a break in the intended way to usedimensioned
withoutstd
. Again, oncesqrt
,powf
, andcbrt
are usable without std on stable, the nightly requirement can be removed. - [changed] BREAKING Updated dependency
rand
from "0.5.4" to "0.8.5". - [changed] BREAKING Updated dependency
generic-array
from "0.11.0" to "0.14.0".
- [changed] BREAKING Made dimensioned work with
no_std
again, and added the default featurestd
. Using this withoutstd
now requires nightly Rust and usingdimensioned
without default features. I don't think this will actually break anything, as it was not working before, but is at least a break in the intended way to usedimensioned
withoutstd
. Oncesqrt
,powf
, andcbrt
are usable without std on stable, the nightly requirement can be removed. - [added] Optional dependency on
ClapMe
and implementation for unit systems viaclapme!
macro. - [added] Trait
Abs
for taking the absolute value of quantities. - [added] Feature flag
serde
that derives Serialization/Deserialization for unit systems. - [added] Modules for integer constants to
make_units!
macro.
- [changed] BREAKING Dimensioned has been rewritten from the ground up. It still does the same thing but the internals are completely different. Read about it here.
- [added] This change log!
- [changed] BREAKING Use typenum instead of peano for faster and more complete type-level numbers. (PR #3)
- [added] Re-export useful things from typenum so that crates downstream don't need to depend on it.