term-transcript 0.5.0-beta.1

Snapshotting and snapshot testing for CLI / REPL applications
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.85"
name = "term-transcript"
version = "0.5.0-beta.1"
authors = ["Alex Ostrovski <ostrovski.alex@gmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Snapshotting and snapshot testing for CLI / REPL applications"
readme = "README.md"
keywords = [
    "snapshot",
    "terminal",
    "SVG",
]
categories = [
    "development-tools::testing",
    "visualization",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/slowli/term-transcript"
resolver = "2"

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

[features]
default = [
    "pretty_assertions",
    "svg",
    "test",
]
font-subset = [
    "svg",
    "dep:font-subset",
]
svg = [
    "dep:handlebars",
    "dep:serde",
    "dep:serde_json",
]
test = [
    "dep:quick-xml",
    "dep:anstream",
]

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

[[test]]
name = "integration"
path = "tests/integration.rs"
required-features = ["tracing"]

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

[dependencies.anstream]
version = "0.6.21"
optional = true

[dependencies.anyhow]
version = "1.0.100"

[dependencies.base64]
version = "0.22.1"

[dependencies.bytecount]
version = "0.6.9"

[dependencies.font-subset]
version = "0.1.0"
features = ["woff2"]
optional = true

[dependencies.handlebars]
version = "6.4.0"
optional = true

[dependencies.os_pipe]
version = "1.2.3"

[dependencies.portable-pty]
version = "0.8.1"
optional = true

[dependencies.pretty_assertions]
version = "1.4.1"
optional = true

[dependencies.quick-xml]
version = "0.39.0"
optional = true

[dependencies.serde]
version = "1.0"
features = ["derive"]
optional = true

[dependencies.serde_json]
version = "1.0"
optional = true

[dependencies.tracing]
version = "0.1.44"
optional = true

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

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

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

[dev-dependencies.test-casing]
version = "=0.2.0-beta.1"
features = ["tracing"]

[dev-dependencies.toml]
version = "0.9.11"

[dev-dependencies.tracing-capture]
version = "0.1.0"

[dev-dependencies.tracing-subscriber]
version = "0.3.22"
features = ["env-filter"]

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