styled-str 0.5.0

Tools for parsing and managing ANSI-styled strings
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 = "2024"
rust-version = "1.86"
name = "styled-str"
version = "0.5.0"
authors = ["Alex Ostrovski <ostrovski.alex@gmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Tools for parsing and managing ANSI-styled strings"
readme = "README.md"
keywords = [
    "ANSI",
    "terminal",
    "styling",
    "color",
]
categories = [
    "command-line-interface",
    "development-tools::testing",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/slowli/term-transcript"
resolver = "2"

[features]
default = ["std"]
std = []

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

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

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

[dependencies.anstyle]
version = "1.0.14"
default-features = false

[dependencies.compile-fmt]
version = "0.1.0"

[dependencies.pretty_assertions]
version = "1.4.1"
features = ["alloc"]
default-features = false

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

[dev-dependencies.anyhow]
version = "1.0.102"

[dev-dependencies.assert_matches]
version = "1.5.0"

[dev-dependencies.doc-comment]
version = "0.3.4"

[dev-dependencies.proptest]
version = "1.11.0"

[dev-dependencies.version-sync]
version = "0.9.2"

[lints.clippy]
module_name_repetitions = "allow"
must_use_candidate = "allow"

[lints.clippy.all]
level = "warn"
priority = -1

[lints.clippy.pedantic]
level = "warn"
priority = -1

[lints.rust]
missing_debug_implementations = "warn"
missing_docs = "warn"
unreachable_pub = "warn"