# 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.1.0"
build = false
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"

[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 = "capture_backend"
path = "examples/capture_backend.rs"

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

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

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

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

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

[dependencies.compact_str]
version = "0.8"
features = ["serde"]

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

[dependencies.serde_json]
version = "1.0"

[dependencies.thiserror]
version = "2.0"

[dependencies.tokio]
version = "1"
features = [
    "sync",
    "rt",
    "macros",
    "time",
]

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

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

[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.tempfile]
version = "3.24.0"

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