enum-tryfrom 0.2.1

Error types and traits for use with enum-tryfrom-derive
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
#[macro_use]
extern crate enum_tryfrom_derive;

#[derive(TryFromPrimitive)]
//~^  ERROR proc-macro derive panicked
#[TryFromPrimitiveType="u32"]
enum Foo {
    Bar(String),
    Baz(i32),
}

fn main() {}