envision 0.5.0

A ratatui framework for collaborative TUI development with headless testing support
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 = "2021"
rust-version = "1.81"
name = "envision"
version = "0.5.0"
build = false
exclude = [
    ".claude/",
    "CLAUDE.md",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A ratatui framework for collaborative TUI development with headless testing support"
documentation = "https://docs.rs/envision"
readme = "README.md"
keywords = [
    "tui",
    "terminal",
    "ratatui",
    "testing",
    "headless",
]
categories = [
    "command-line-interface",
    "development-tools::testing",
]
license = "MIT"
repository = "https://github.com/ryanoneill/envision"

[features]
clipboard = ["dep:arboard"]
compound-components = [
    "input-components",
    "data-components",
    "display-components",
]
data-components = []
default = [
    "serialization",
    "full",
]
display-components = []
full = [
    "input-components",
    "data-components",
    "display-components",
    "navigation-components",
    "overlay-components",
    "compound-components",
    "clipboard",
]
input-components = []
navigation-components = []
overlay-components = []
serialization = [
    "dep:serde",
    "dep:serde_json",
    "compact_str/serde",
    "ratatui/serde",
]
tracing = ["dep:tracing"]

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

[[example]]
name = "annotations"
path = "examples/annotations.rs"

[[example]]
name = "async_counter"
path = "examples/async_counter.rs"

[[example]]
name = "beautiful_dashboard"
path = "examples/beautiful_dashboard.rs"
required-features = ["full"]

[[example]]
name = "capture_backend"
path = "examples/capture_backend.rs"

[[example]]
name = "component_showcase"
path = "examples/component_showcase.rs"
required-features = ["full"]

[[example]]
name = "counter_app"
path = "examples/counter_app.rs"

[[example]]
name = "test_harness"
path = "examples/test_harness.rs"

[[example]]
name = "themed_app"
path = "examples/themed_app.rs"
required-features = [
    "input-components",
    "data-components",
    "display-components",
]

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

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

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

[[bench]]
name = "capture_backend"
path = "benches/capture_backend.rs"
harness = false

[[bench]]
name = "component_events"
path = "benches/component_events.rs"
harness = false
required-features = [
    "input-components",
    "data-components",
]

[[bench]]
name = "component_view"
path = "benches/component_view.rs"
harness = false
required-features = ["data-components"]

[[bench]]
name = "runtime"
path = "benches/runtime.rs"
harness = false

[dependencies.arboard]
version = "3"
optional = true

[dependencies.async-stream]
version = "0.3"

[dependencies.compact_str]
version = "0.8"

[dependencies.crossterm]
version = "0.28"
features = ["event-stream"]

[dependencies.futures-util]
version = "0.3"

[dependencies.ratatui]
version = "0.29"

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

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

[dependencies.tokio]
version = "1"
features = [
    "sync",
    "rt",
    "rt-multi-thread",
    "macros",
    "time",
    "fs",
]

[dependencies.tokio-stream]
version = "0.1"

[dependencies.tokio-util]
version = "0.7"

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

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

[dev-dependencies.criterion]
version = "0.5"
features = ["html_reports"]

[dev-dependencies.insta]
version = "1.41"
features = ["json"]

[dev-dependencies.pretty_assertions]
version = "1.4"

[dev-dependencies.proptest]
version = "~1.8"

[dev-dependencies.tempfile]
version = "3.24.0"

[dev-dependencies.tokio]
version = "1"
features = [
    "full",
    "test-util",
]

[dev-dependencies.tokio-test]
version = "0.4"