# 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 = "attribute-derive"
version = "0.10.5"
build = false
include = [
    "src/**/*",
    "LICENSE-*",
    "README.md",
    "docs/**/*",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Clap like parsing for attributes in proc-macros"
documentation = "https://docs.rs/attribute-derive"
readme = "README.md"
keywords = [
    "derive",
    "macro",
    "attribute",
    "arguments",
    "syn",
]
categories = [
    "rust-patterns",
    "development-tools::procedural-macro-helpers",
    "parsing",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/ModProg/attribute-derive"

[package.metadata.release]
shared-version = true

[[package.metadata.release.pre-release-replacements]]
file = "CHANGELOG.md"
search = '## \[Unreleased\]'
replace = """
## [Unreleased]

## [{{version}}] - {{date}}"""

[[package.metadata.release.pre-release-replacements]]
file = "CHANGELOG.md"
search = '\[unreleased\]: (.*)/(v.*)\.\.\.HEAD'
replace = """
[unreleased]: $1/{{tag_name}}...HEAD
[{{version}}]: $1/$2...{{tag_name}}"""

[features]
syn-full = ["syn/full"]

[lib]
name = "attribute_derive"
path = "src/lib.rs"

[dependencies.attribute-derive-macro]
version = "0.10.5"

[dependencies.derive-where]
version = "1.2.7"

[dependencies.manyhow]
version = "0.11.3"

[dependencies.proc-macro2]
version = "1"

[dependencies.quote]
version = "1"

[dependencies.syn]
version = "2"

[dev-dependencies.insta]
version = "1.39.0"

[dev-dependencies.quote]
version = "1"

[dev-dependencies.static_assertions]
version = "1.1.0"

[dev-dependencies.syn]
version = "2"
features = ["extra-traits"]
