# 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 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) [package] edition = "2018" name = "pkg-version" version = "1.0.0" authors = ["Jonas Schievink "] description = "Macros expanding to the package version" documentation = "https://docs.rs/pkg-version/" readme = "README.md" keywords = ["crate", "macro", "const", "constant"] categories = ["development-tools::build-utils"] license = "0BSD" repository = "https://github.com/jonas-schievink/pkg-version.git" [package.metadata.release] no-dev-version = true pre-release-commit-message = "Release {{version}}" tag-message = "{{version}}" [[package.metadata.release.pre-release-replacements]] file = "CHANGELOG.md" replace = "## Unreleased\n\nNo changes.\n\n## {{version}} - {{date}}" search = "## Unreleased" [[package.metadata.release.pre-release-replacements]] file = "README.md" replace = "pkg-version = \"{{version}}\"" search = "pkg-version = \"[a-z0-9\\\\.-]+\"" [[package.metadata.release.pre-release-replacements]] file = "src/lib.rs" replace = "https://docs.rs/pkg-version/{{version}}" search = "https://docs.rs/pkg-version/[a-z0-9\\.-]+" [[package.metadata.release.pre-release-replacements]] file = "src/lib.rs" replace = "\"{{version}}\"" search = "\"[0-9\\.-]+[0-9a-z\\.-]*\"" [dependencies.pkg-version-impl] version = "0.1.0" [dependencies.proc-macro-hack] version = "0.5.5" [dev-dependencies.version-sync] version = "0.8"