# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2021" rust-version = "1.56" name = "impl-enum" version = "0.3.1" authors = ["Heliozoa "] description = "Macros that make using enums like trait objects more convenient." readme = "README.md" keywords = [ "macro", "enum", "methods", ] categories = ["rust-patterns"] license = "MPL-2.0" repository = "https://github.com/Heliozoa/impl-enum" resolver = "2" [lib] proc-macro = true [[example]] name = "as_dyn" path = "examples/as_dyn.rs" required-features = ["as_dyn"] [[example]] name = "with_methods" path = "examples/with_methods.rs" required-features = ["with_methods"] [dependencies.heck] version = "0.4.0" [dependencies.proc-macro2] version = "1.0.43" [dependencies.quote] version = "1.0.21" [dependencies.syn] version = "2.0.39" features = ["full"] [features] as_dyn = [] default = [ "with_methods", "as_dyn", ] with_methods = []