[package] name = "docsplay" version = "0.1.1" authors = ["Dániel Buga "] edition = "2021" license = "MIT OR Apache-2.0" readme = "README.md" repository = "https://github.com/bugadani/docsplay" homepage = "https://github.com/bugadani/docsplay" documentation = "https://docs.rs/docsplay" keywords = ["display", "derive"] description = """ A derive macro for implementing the display Trait via a doc comment and string interpolation. Fork of displaydoc """ [features] default = ["std"] std = ["docsplay-macros/std"] [dependencies] docsplay-macros = { version = "0.1.1", path = "docsplay-macros" } [dev-dependencies] trybuild = "1.0" static_assertions = "1.1" rustversion = "1.0.0" pretty_assertions = "1.4.0" thiserror = "1.0.24" [workspace] members = [".", "docsplay-macros"] [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" search = "Unreleased" replace="{{version}}" [[package.metadata.release.pre-release-replacements]] file = "src/lib.rs" search = "#!\\[doc\\(html_root_url.*" replace = "#![doc(html_root_url = \"https://docs.rs/{{crate_name}}/{{version}}\")]" exactly = 1 [[package.metadata.release.pre-release-replacements]] file = "CHANGELOG.md" search = "ReleaseDate" replace="{{date}}" [[package.metadata.release.pre-release-replacements]] file="CHANGELOG.md" search="" replace="\n\n# [Unreleased] - ReleaseDate" exactly=1 # Disable this replacement on the very first release [[package.metadata.release.pre-release-replacements]] file = "CHANGELOG.md" search = "\\.\\.\\.HEAD" replace="...{{tag_name}}" exactly = 1 # END SECTION, do not comment out the replacement below this, and do not reorder them [[package.metadata.release.pre-release-replacements]] file="CHANGELOG.md" search="" replace="\n[Unreleased]: https://github.com/yaahc/{{crate_name}}/compare/{{tag_name}}...HEAD" exactly=1