[package]
edition = "2024"
rust-version = "1.86.0"
name = "osteak"
version = "0.1.3"
build = false
exclude = [
".github/",
".ostk/",
".claude/",
".mcp.json",
"*.bail",
"docs/",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Elm for ratatui — you bring the loop"
homepage = "https://github.com/os-tack/osteak"
documentation = "https://docs.rs/osteak"
readme = "README.md"
keywords = [
"ratatui",
"tui",
"elm",
"tea",
"terminal",
]
categories = ["command-line-interface"]
license = "MIT"
repository = "https://github.com/os-tack/osteak"
[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
"--cfg",
"docsrs",
]
[features]
crossterm-backend = ["dep:crossterm"]
default = [
"crossterm-backend",
"tokio-runtime",
]
tokio-runtime = [
"dep:tokio",
"dep:tokio-stream",
"dep:futures",
]
[lib]
name = "osteak"
path = "src/lib.rs"
[[example]]
name = "async_tasks"
path = "examples/async_tasks.rs"
[[example]]
name = "counter"
path = "examples/counter.rs"
[[example]]
name = "counter_manual"
path = "examples/counter_manual.rs"
[[example]]
name = "multi_pane"
path = "examples/multi_pane.rs"
[[test]]
name = "composition"
path = "tests/composition.rs"
[[test]]
name = "tea_cycle"
path = "tests/tea_cycle.rs"
[dependencies.crossterm]
version = "0.29"
features = ["event-stream"]
optional = true
[dependencies.futures]
version = "0.3"
optional = true
[dependencies.futures-core]
version = "0.3"
[dependencies.ratatui]
version = "0.30"
[dependencies.tokio]
version = "1"
features = [
"rt",
"sync",
"macros",
"time",
]
optional = true
[dependencies.tokio-stream]
version = "0.1"
optional = true
[dev-dependencies.tokio]
version = "1"
features = [
"rt-multi-thread",
"macros",
]
[lints.clippy]
missing_errors_doc = "allow"
missing_panics_doc = "allow"
module_name_repetitions = "allow"
must_use_candidate = "allow"
[lints.clippy.pedantic]
level = "warn"
priority = -1
[lints.rust]
unsafe_code = "forbid"