typst/vendor/displaydoc/Cargo.toml

116 lines
2.6 KiB
TOML
Raw Permalink Normal View History

2024-10-16 14:15:33 +03:00
# 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]
2024-10-16 15:19:37 +03:00
edition = "2021"
rust-version = "1.56.0"
2024-10-16 14:15:33 +03:00
name = "displaydoc"
2024-10-16 15:19:37 +03:00
version = "0.2.5"
2024-10-16 14:15:33 +03:00
authors = ["Jane Lusby <jlusby@yaah.dev>"]
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",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/yaahc/displaydoc"
[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}}"
2024-10-16 15:19:37 +03:00
search = "Unreleased"
2024-10-16 14:15:33 +03:00
[[package.metadata.release.pre-release-replacements]]
2024-10-16 15:19:37 +03:00
exactly = 1
2024-10-16 14:15:33 +03:00
file = "src/lib.rs"
replace = "#![doc(html_root_url = \"https://docs.rs/{{crate_name}}/{{version}}\")]"
2024-10-16 15:19:37 +03:00
search = '#!\[doc\(html_root_url.*'
2024-10-16 14:15:33 +03:00
[[package.metadata.release.pre-release-replacements]]
file = "CHANGELOG.md"
replace = "{{date}}"
2024-10-16 15:19:37 +03:00
search = "ReleaseDate"
2024-10-16 14:15:33 +03:00
[[package.metadata.release.pre-release-replacements]]
2024-10-16 15:19:37 +03:00
exactly = 1
2024-10-16 14:15:33 +03:00
file = "CHANGELOG.md"
replace = """
<!-- next-header -->
# [Unreleased] - ReleaseDate"""
2024-10-16 15:19:37 +03:00
search = "<!-- next-header -->"
2024-10-16 14:15:33 +03:00
[[package.metadata.release.pre-release-replacements]]
2024-10-16 15:19:37 +03:00
exactly = 1
2024-10-16 14:15:33 +03:00
file = "CHANGELOG.md"
replace = "...{{tag_name}}"
2024-10-16 15:19:37 +03:00
search = '\.\.\.HEAD'
2024-10-16 14:15:33 +03:00
[[package.metadata.release.pre-release-replacements]]
2024-10-16 15:19:37 +03:00
exactly = 1
2024-10-16 14:15:33 +03:00
file = "CHANGELOG.md"
replace = """
<!-- next-url -->
[Unreleased]: https://github.com/yaahc/{{crate_name}}/compare/{{tag_name}}...HEAD"""
2024-10-16 15:19:37 +03:00
search = "<!-- next-url -->"
2024-10-16 14:15:33 +03:00
[lib]
path = "src/lib.rs"
proc-macro = true
[dependencies.proc-macro2]
version = "1.0"
[dependencies.quote]
version = "1.0"
[dependencies.syn]
version = "2.0"
[dev-dependencies.libc]
version = "0.2"
default-features = false
[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 = []