[dependencies.color-eyre]
version = "0.6"
[dependencies.crossterm]
features = ["serde", "event-stream"]
version = "0.28"
[dependencies.futures]
version = "0.3"
[dependencies.ratatui]
features = ["serde", "macros"]
version = "0.29"
[dependencies.tokio]
features = ["full"]
version = "1"
[dependencies.tokio-stream]
version = "0.1"
[dependencies.tokio-util]
version = "0.7"
[[example]]
name = "counter"
path = "examples/counter.rs"
[[example]]
name = "signals"
path = "examples/signals.rs"
[[example]]
name = "views"
path = "examples/views.rs"
[lib]
name = "tears"
path = "src/lib.rs"
[lints.clippy]
expect_used = "allow"
module_name_repetitions = "allow"
multiple_crate_versions = "allow"
panic = "warn"
similar_names = "allow"
unwrap_used = "warn"
[lints.clippy.cargo]
level = "warn"
priority = -1
[lints.clippy.complexity]
level = "warn"
priority = -1
[lints.clippy.correctness]
level = "warn"
priority = -1
[lints.clippy.nursery]
level = "warn"
priority = -1
[lints.clippy.pedantic]
level = "warn"
priority = -1
[lints.clippy.perf]
level = "warn"
priority = -1
[lints.clippy.suspicious]
level = "warn"
priority = -1
[package]
authors = ["Akiomi Kamakura <akiomik@gmail.com>"]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = false
categories = ["command-line-interface", "asynchronous"]
description = "A simple and elegant framework for building TUI applications using The Elm Architecture (TEA)"
documentation = "https://docs.rs/tears"
edition = "2024"
exclude = [".github/", ".gitignore", "justfile", ".*.md", "tmp*", "Cargo.lock"]
homepage = "https://github.com/akiomik/tears"
keywords = ["tui", "tea", "elm-architecture", "ratatui", "framework"]
license = "Apache-2.0"
name = "tears"
readme = "README.md"
repository = "https://github.com/akiomik/tears"
rust-version = "1.85.0"
version = "0.4.0"
[[test]]
name = "dynamic_subscriptions"
path = "tests/dynamic_subscriptions.rs"
[[test]]
name = "quit_handling"
path = "tests/quit_handling.rs"
[[test]]
name = "runtime_run"
path = "tests/runtime_run.rs"