Procedural macros to derive numeric traits in Rust.
Add this to your Cargo.toml
:
toml
[dependencies]
num = "0.1"
num-derive = "0.1"
and this to your crate root:
```rust
extern crate num_derive; ```
full-syntax
— Enables num-derive
to handle enum discriminants
represented by complex expressions. Usually can be avoided by
[utilizing constants], so only use this feature if namespace pollution is
undesired and [compile time doubling] is acceptable.Release notes are available in RELEASES.md.
The num-derive
crate is tested for rustc 1.15 and greater.