[package] name = "repr-with-fallback" version = "0.1.1" authors = ["Max von Forell "] license = "MIT" repository = "https://sr.ht/~mvforell/repr-with-fallback" documentation = "https://docs.rs/repr-with-fallback" description = "Automatically generate From and Into impls for enums with custom discriminant values and a fallback variant. Useful for parsing when you might encounter unknown variants and want to hold on to their value." keywords = ["enum", "parsing"] categories = ["rust-patterns", "parsing"] readme = "README.md" edition = "2021" [lib] proc-macro = true [dependencies] proc-macro2 = "1.0" syn = { version = "1.0", features = ["full", "extra-traits"] } quote = "1.0"