quantities 0.10.0

Unit-safe computations with quantities.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
error: At least one unit description must be given via attribute `unit`.

         = help: Use `#[unit(<ident>, "<symbol>", <si_prefix>, <scale>, "<doc>")]`
       or  `#[unit(<ident>, "<symbol>", <si_prefix>, <scale>)]`
       or  `#[unit(<ident>, "<symbol>", <scale>, "<doc>")]`
       or  `#[unit(<ident>, "<symbol>", <scale>)]`
       or  `#[unit(<ident>, "<symbol>", "<doc>")]`
       or  `#[unit(<ident>, "<symbol>")]`.

  --> tests/ui/no_unit.rs:13:1
   |
13 | #[quantity]
   | ^^^^^^^^^^^
   |
   = note: this error originates in the attribute macro `quantity` (in Nightly builds, run with -Z macro-backtrace for more info)