# 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 = "2024"
rust-version = "1.91"
name = "spellabet"
version = "0.3.1"
build = false
publish = true
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Convert characters into spelling alphabet code words"
homepage = "https://github.com/EarthmanMuons/spellout/tree/main/crates/spellabet"
documentation = "https://docs.rs/spellabet/0.3.1/spellabet/"
readme = "README.md"
keywords = [
    "formatting",
    "humanize",
    "text",
]
categories = [
    "text-processing",
    "value-formatting",
]
license = "0BSD"
repository = "https://github.com/EarthmanMuons/spellout/tree/main/crates/spellabet"

[package.metadata.release]
tag = true

[[package.metadata.release.pre-release-replacements]]
file = "Cargo.toml"
search = "docs.rs/spellabet/[0-9]+.[0-9]+.[0-9]+"
replace = "docs.rs/spellabet/{{version}}"
exactly = 1

[[package.metadata.release.pre-release-replacements]]
file = "CHANGELOG.md"
search = "Unreleased"
replace = "{{version}}"

[[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 = "<!-- release-date -->"
replace = "- {{date}}"

[[package.metadata.release.pre-release-replacements]]
file = "CHANGELOG.md"
search = "<!-- next-header -->"
replace = """
<!-- next-header -->

## [Unreleased] <!-- release-date -->"""
exactly = 1

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

[[package.metadata.release.pre-release-replacements]]
file = "README.md"
search = "docs.rs/spellabet/[0-9]+.[0-9]+.[0-9]+"
replace = "docs.rs/spellabet/{{version}}"

[[package.metadata.release.pre-release-replacements]]
file = "README.md"
search = "spellabet = .*"
replace = '{{crate_name}} = "{{version}}"'

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

[[test]]
name = "integration"
path = "tests/integration/main.rs"

[dependencies.convert_case]
version = "0.11.0"

[dev-dependencies.insta]
version = "1.46.1"
