docsplay 0.1.3

A derive macro for implementing the display Trait via a doc comment and string interpolation. Fork of displaydoc
Documentation
# 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]
edition = "2021"
rust-version = "1.56"
name = "docsplay"
version = "0.1.3"
authors = ["Dániel Buga <bugadani@gmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = """
A derive macro for implementing the display Trait via a doc comment and string interpolation. Fork of displaydoc
"""
homepage = "https://github.com/bugadani/docsplay"
documentation = "https://docs.rs/docsplay"
readme = "README.md"
keywords = [
    "display",
    "derive",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/bugadani/docsplay"

[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
    "--cfg",
    "docsrs",
]

[package.metadata.release]
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 = "<!-- next-header -->"
replace = """
<!-- next-header -->

# [Unreleased] - ReleaseDate"""
exactly = 1

[[package.metadata.release.pre-release-replacements]]
file = "CHANGELOG.md"
search = '\.\.\.HEAD'
replace = "...{{tag_name}}"
exactly = 1

[[package.metadata.release.pre-release-replacements]]
file = "CHANGELOG.md"
search = "<!-- next-url -->"
replace = """
<!-- next-url -->
[Unreleased]: https://github.com/yaahc/{{crate_name}}/compare/{{tag_name}}...HEAD"""
exactly = 1

[features]
default = ["std"]
std = ["docsplay-macros/std"]

[lib]
name = "docsplay"
path = "src/lib.rs"

[[example]]
name = "simple"
path = "examples/simple.rs"

[[test]]
name = "compile_tests"
path = "tests/compile_tests.rs"

[[test]]
name = "happy"
path = "tests/happy.rs"

[[test]]
name = "num_in_field"
path = "tests/num_in_field.rs"

[[test]]
name = "variantless"
path = "tests/variantless.rs"

[dependencies.docsplay-macros]
version = "0.1.2"

[dev-dependencies.pretty_assertions]
version = "1.4.0"

[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"