[dependencies.heck]
optional = true
version = "0.5"
[dependencies.proc-macro2]
optional = true
version = "1.0.85"
[dependencies.proc-macro2-diagnostics]
optional = true
version = "0.10"
[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"]
[lib]
name = "duplicate"
path = "src/lib.rs"
proc-macro = true
[package]
authors = ["Emad Jacob Maroun <emoun.open@gmail.com>"]
autobenches = false
autobins = false
autoexamples = false
autotests = false
build = false
categories = ["development-tools"]
description = "Provides macros for duplication of code with variable substitution."
documentation = "https://docs.rs/duplicate"
edition = "2021"
exclude = ["rustfmt.toml", ".gitignore", "README.md", "CHANGELOG.md"]
license = "MIT OR Apache-2.0"
name = "duplicate"
readme = "cargo-readme.md"
repository = "https://github.com/Emoun/duplicate"
rust-version = "1.65"
version = "2.0.0"
[package.metadata.docs.rs]
all-features = true
[[test]]
name = "tests"
path = "tests/tests.rs"
[[test]]
name = "utils"
path = "tests/utils.rs"