1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
|
# enumber




`enumber` is a procedural macro crate which helps you to work with enums whose
purpose it is to represent numbers (for example when parsing complex binary
logs) or strange wire protocols.
```rust
#[enumber::convert]
pub enum Flags {
EnableCompression = 1,
EnableTLS = 2,
Other(usize),
}
```
|