[package]
edition = "2021"
rust-version = "1.96"
name = "termproof"
version = "0.4.4"
authors = ["TermProof maintainers"]
build = false
exclude = [
"tests/differential_steps.rs",
"tests/differential_assertions.rs",
"tests/differential_evidence_manifest.rs",
"tests/differential_before_after.rs",
"tests/differential_cast_replay.rs",
"tests/differential_run_result.rs",
"tests/differential_build_info.rs",
"tests/differential_report.rs",
"tests/differential_config.rs",
"tests/differential_selection.rs",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Evidence-first verification for TUI and terminal applications: recipe model, schema, steps, assertions, orchestration, terminal sessions and the evidence pipeline"
homepage = "https://github.com/md-mt/termproof"
documentation = "https://docs.rs/termproof"
readme = "README.md"
keywords = [
"terminal",
"tui",
"testing",
"verification",
"pty",
]
categories = [
"development-tools::testing",
"development-tools",
"command-line-interface",
"os::unix-apis",
"visualization",
]
license = "MIT"
repository = "https://github.com/md-mt/termproof"
[package.metadata.docs.rs]
all-features = true
[package.metadata.cargo-semver-checks.lints]
constructible_struct_adds_field = "allow"
struct_pub_field_missing = "allow"
[features]
_test-harness = []
clap = ["dep:clap"]
default = [
"evidence",
"junit",
"json-schema",
"schema",
]
evidence = [
"dep:image",
"dep:avt",
]
json-schema = [
"dep:jsonschema",
"schema",
]
junit = ["dep:quick-junit"]
schema = ["dep:schemars"]
[lib]
name = "termproof"
path = "src/lib.rs"
[[test]]
name = "assertion_step_context"
path = "tests/assertion_step_context.rs"
[[test]]
name = "canonical_schema"
path = "tests/canonical_schema.rs"
[[test]]
name = "junit_paths"
path = "tests/junit_paths.rs"
[[test]]
name = "pty_backend"
path = "tests/pty_backend.rs"
[[test]]
name = "pty_session_trait"
path = "tests/pty_session_trait.rs"
[[test]]
name = "recipe_meta"
path = "tests/recipe_meta.rs"
[[test]]
name = "recipe_timeout_bounds"
path = "tests/recipe_timeout_bounds.rs"
[[test]]
name = "runner_executes"
path = "tests/runner_executes.rs"
[[test]]
name = "schema_snapshot"
path = "tests/schema_snapshot.rs"
[[test]]
name = "session_driver"
path = "tests/session_driver.rs"
[[test]]
name = "step_detail_repr"
path = "tests/step_detail_repr.rs"
[[test]]
name = "step_duration_bounds"
path = "tests/step_duration_bounds.rs"
[[test]]
name = "step_duration_coercion"
path = "tests/step_duration_coercion.rs"
[[test]]
name = "step_regex_dialect"
path = "tests/step_regex_dialect.rs"
[[test]]
name = "step_send_line_text_type"
path = "tests/step_send_line_text_type.rs"
[dependencies.avt]
version = "0.18"
optional = true
[dependencies.chrono]
version = "0.4"
[dependencies.clap]
version = "4.5"
optional = true
[dependencies.fancy-regex]
version = "0.19"
[dependencies.globset]
version = "0.4"
[dependencies.image]
version = "0.25"
features = ["png"]
optional = true
default-features = false
[dependencies.jsonschema]
version = ">=0.56, <0.61"
optional = true
[dependencies.portable-pty]
version = "0.9"
[dependencies.quick-junit]
version = "0.8"
optional = true
[dependencies.regex]
version = "1.13.1"
features = [
"std",
"unicode",
]
default-features = false
[dependencies.schemars]
version = "0.8"
features = ["preserve_order"]
optional = true
[dependencies.serde]
version = "1.0"
features = ["derive"]
[dependencies.serde_json]
version = "1.0"
[dependencies.serde_yaml]
version = "0.9"
[dependencies.sha2]
version = "0.11"
[dependencies.tempfile]
version = "3.10"
[dependencies.thiserror]
version = "2.0"
[dependencies.unicode-normalization]
version = "0.1"
[dependencies.unicode-width]
version = "0.2"
[dependencies.vt100]
version = "0.18.1"
[dev-dependencies]
[lints.clippy]
all = "warn"
[lints.rust]
missing_docs = "warn"
unsafe_code = "forbid"