# 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" name = "enum_delegate" version = "0.2.0" authors = ["Reinis Mazeiks"] description = "Easily replace dynamic dispatch with an enum, for speed and serialization" readme = "Readme.md" keywords = [ "performance", "traits", "enum", "optimization", "macro", ] categories = ["rust-patterns"] license = "MIT OR Apache-2.0" repository = "https://gitlab.com/dawn_app/enum_delegate" [lib] proc-macro = true [[example]] name = "e1_simple" crate-type = ["staticlib"] test = true [[example]] name = "e1_simple_no_register" crate-type = ["staticlib"] test = true [[example]] name = "e1_simple_no_implement" crate-type = ["staticlib"] test = true [[example]] name = "e2_associated_type" crate-type = ["staticlib"] test = true [[example]] name = "e3_mixed_associated_type" crate-type = ["staticlib"] test = true [dependencies.enum_delegate_lib] version = "0.2.0" [dependencies.proc-macro2] version = "1.0.46" [dependencies.quote] version = "1.0.21" [dependencies.syn] version = "1.0.101" features = ["full"] [dev-dependencies.impls] version = "1.0.3" [dev-dependencies.trybuild] version = "1.0.71"