# 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.65" name = "duplicate" version = "2.0.0" authors = ["Emad Jacob Maroun "] build = false exclude = [ "rustfmt.toml", ".gitignore", "README.md", "CHANGELOG.md", ] autobins = false autoexamples = false autotests = false autobenches = false description = "Provides macros for duplication of code with variable substitution." documentation = "https://docs.rs/duplicate" readme = "cargo-readme.md" categories = ["development-tools"] license = "MIT OR Apache-2.0" repository = "https://github.com/Emoun/duplicate" [package.metadata.docs.rs] all-features = true [lib] name = "duplicate" path = "src/lib.rs" proc-macro = true [[test]] name = "tests" path = "tests/tests.rs" [[test]] name = "utils" path = "tests/utils.rs" [dependencies.heck] version = "0.5" optional = true [dependencies.proc-macro2] version = "1.0.85" optional = true [dependencies.proc-macro2-diagnostics] version = "0.10" optional = true [dev-dependencies.doc-comment] version = "0.3.3" [dev-dependencies.duplicate_macrotest] version = "1.0.7" [dev-dependencies.regex] version = "1.6.0" [dev-dependencies.rustversion] version = "1.0.7" [dev-dependencies.serde] version = "1.0.105" [features] default = [ "pretty_errors", "module_disambiguation", ] fail-on-warnings = [] module_disambiguation = ["dep:heck"] pretty_errors = [ "dep:proc-macro2-diagnostics", "dep:proc-macro2", ]