# 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"
name = "pure-tui"
version = "0.5.0"
authors = ["Rob Lillack <rob@lillack.net>"]
build = false
include = [
    "src/**/*.rs",
    "!src/**/*_tests.rs",
    "Cargo.toml",
    "Cargo.lock",
    "README.md",
    "CHANGELOG.md",
    "LICENSE",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A modern terminal-based word processor for Markdown and other structured text documents"
readme = "README.md"
license = "MIT"
repository = "https://github.com/roblillack/pure"

[[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 = "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 = "<!-- next-url -->"
replace = """
<!-- next-url -->
[Unreleased]: https://github.com/roblillack/pure/compare/{{tag_name}}...HEAD"""
exactly = 1

[features]
recorder = []

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

[[bin]]
name = "pure"
path = "src/bin/pure.rs"

[dependencies.anyhow]
version = "1.0"

[dependencies.crossterm]
version = "0.29.0"
features = ["osc52"]

[dependencies.ratatui]
version = "0.29"

[dependencies.tdoc]
version = "0.10.0"
default-features = false

[dependencies.unicode-width]
version = "0.2.0"

[dev-dependencies.gif]
version = "0.14"

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

[dev-dependencies.resvg]
version = "0.47"
