[dependencies.proc-macro2]
version = "1.0"
[dependencies.quote]
version = "1.0"
[dependencies.syn]
version = "2.0"
[dev-dependencies.libc]
default-features = false
version = "0.2"
[dev-dependencies.pretty_assertions]
version = "0.6.1"
[dev-dependencies.rustversion]
version = "1.0.0"
[dev-dependencies.static_assertions]
version = "1.1"
[dev-dependencies.thiserror]
version = "1.0.24"
[dev-dependencies.trybuild]
version = "1.0"
[features]
default = ["std"]
std = []
[lib]
path = "src/lib.rs"
proc-macro = true
[package]
authors = ["Jane Lusby <jlusby@yaah.dev>"]
description = "A derive macro for implementing the display Trait via a doc comment and string interpolation\n"
documentation = "https://docs.rs/displaydoc"
edition = "2021"
homepage = "https://github.com/yaahc/displaydoc"
keywords = ["display", "derive"]
license = "MIT OR Apache-2.0"
name = "displaydoc"
readme = "README.md"
repository = "https://github.com/yaahc/displaydoc"
rust-version = "1.56.0"
version = "0.2.5"
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]
[package.metadata.release]
no-dev-version = true
pre-release-hook = ["./update-readme.sh"]
[[package.metadata.release.pre-release-replacements]]
file = "CHANGELOG.md"
replace = "{{version}}"
search = "Unreleased"
[[package.metadata.release.pre-release-replacements]]
exactly = 1
file = "src/lib.rs"
replace = "#![doc(html_root_url = \"https://docs.rs/{{crate_name}}/{{version}}\")]"
search = "#!\\[doc\\(html_root_url.*"
[[package.metadata.release.pre-release-replacements]]
file = "CHANGELOG.md"
replace = "{{date}}"
search = "ReleaseDate"
[[package.metadata.release.pre-release-replacements]]
exactly = 1
file = "CHANGELOG.md"
replace = "<!-- next-header -->\n\n# [Unreleased] - ReleaseDate"
search = "<!-- next-header -->"
[[package.metadata.release.pre-release-replacements]]
exactly = 1
file = "CHANGELOG.md"
replace = "...{{tag_name}}"
search = "\\.\\.\\.HEAD"
[[package.metadata.release.pre-release-replacements]]
exactly = 1
file = "CHANGELOG.md"
replace = "<!-- next-url -->\n[Unreleased]: https://github.com/yaahc/{{crate_name}}/compare/{{tag_name}}...HEAD"
search = "<!-- next-url -->"