[go: up one dir, main page]

duplicate 0.3.0

The attribute macro `duplicate` can duplicate an item with variable substitution.
Documentation
[package]
name = "duplicate"
version = "0.3.0"
authors = ["Emad Jacob Maroun <emoun.open@gmail.com>"]
edition = "2018"
license = "MIT OR Apache-2.0"
description = "The attribute macro `duplicate` can duplicate an item with variable substitution."
repository = "https://github.com/Emoun/duplicate"
documentation = "https://docs.rs/duplicate"
readme = "cargo-readme.md"

categories = ["development-tools"]

exclude = [".travis.yml", "rustfmt.toml", ".gitignore", "README.md", "CHANGELOG.md", "git_private_key.enc"]

[lib]
proc-macro = true

[dependencies]
proc-macro-error = { version = "=1.0.4", optional = true }
heck = { version = "=0.3.2", optional = true } # Must use '=' because their MSRV might change on minor or patch releases

[dev-dependencies]
macrotest = "^1.0.7" # MSRV of 1.34 went into effect with this version
doc-comment = "=0.3.3" # Must use '=' because of a lack of MSRV

[features]
default = ["pretty_errors", "module_disambiguation"]
pretty_errors = ["proc-macro-error"]
module_disambiguation = ["heck"]
fail-on-warnings = [] # Forces compilation to fail if any warnings are given. Used in CI.

[package.metadata.docs.rs]
all-features = true

[badges]
maintenance = { status = "experimental" }