diff options
Diffstat (limited to 'vendor/displaydoc/Cargo.toml')
-rw-r--r-- | vendor/displaydoc/Cargo.toml | 58 |
1 files changed, 37 insertions, 21 deletions
diff --git a/vendor/displaydoc/Cargo.toml b/vendor/displaydoc/Cargo.toml index 9803ab6e8..1affcca6b 100644 --- a/vendor/displaydoc/Cargo.toml +++ b/vendor/displaydoc/Cargo.toml @@ -3,69 +3,84 @@ # 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 +# to registry (e.g., crates.io) dependencies. # -# If you believe there's an error in this file please file an -# issue against the rust-lang/cargo repository. If you're -# editing this file be aware that the upstream Cargo.toml -# will likely look very different (and much more reasonable) +# 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 = "2018" name = "displaydoc" -version = "0.2.3" +version = "0.2.4" authors = ["Jane Lusby <jlusby@yaah.dev>"] -description = "A derive macro for implementing the display Trait via a doc comment and string interpolation\n" +description = """ +A derive macro for implementing the display Trait via a doc comment and string interpolation +""" homepage = "https://github.com/yaahc/displaydoc" documentation = "https://docs.rs/displaydoc" readme = "README.md" -keywords = ["display", "derive"] +keywords = [ + "display", + "derive", +] license = "MIT OR Apache-2.0" repository = "https://github.com/yaahc/displaydoc" + [package.metadata.docs.rs] all-features = true -rustdoc-args = ["--cfg", "docsrs"] +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" +replace = "{{version}}" [[package.metadata.release.pre-release-replacements]] -exactly = 1 file = "src/lib.rs" +search = '#!\[doc\(html_root_url.*' replace = "#![doc(html_root_url = \"https://docs.rs/{{crate_name}}/{{version}}\")]" -search = "#!\\[doc\\(html_root_url.*" +exactly = 1 [[package.metadata.release.pre-release-replacements]] file = "CHANGELOG.md" -replace = "{{date}}" search = "ReleaseDate" +replace = "{{date}}" [[package.metadata.release.pre-release-replacements]] -exactly = 1 file = "CHANGELOG.md" -replace = "<!-- next-header -->\n\n## [Unreleased] - ReleaseDate" search = "<!-- next-header -->" +replace = """ +<!-- next-header --> -[[package.metadata.release.pre-release-replacements]] +# [Unreleased] - ReleaseDate""" exactly = 1 + +[[package.metadata.release.pre-release-replacements]] file = "CHANGELOG.md" +search = '\.\.\.HEAD' replace = "...{{tag_name}}" -search = "\\.\\.\\.HEAD" +exactly = 1 [[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 -->" +replace = """ +<!-- next-url --> +[Unreleased]: https://github.com/yaahc/{{crate_name}}/compare/{{tag_name}}...HEAD""" +exactly = 1 [lib] path = "src/lib.rs" proc-macro = true + [dependencies.proc-macro2] version = "1.0" @@ -73,7 +88,8 @@ version = "1.0" version = "1.0" [dependencies.syn] -version = "1.0" +version = "2.0" + [dev-dependencies.libc] version = "0.2" default-features = false @@ -85,7 +101,7 @@ version = "0.6.1" version = "1.0.0" [dev-dependencies.static_assertions] -version = "0.3.4" +version = "1.1" [dev-dependencies.thiserror] version = "1.0.24" |