[package]
name = "oker"
version = "0.8.0"
edition = "2024"
license = "LGPL-3.0-only"
description = "Web Backend framework for rust"

[dependencies]
serde_json = "1.0"
wasm-bindgen = "0.2"
log = { version = "0.4.29", optional = true }
simplelog = { version = "0.12.2", optional = true }
ratatui = { version = "0.26", optional = true }
crossterm = { version = "0.27", optional = true }

[features]
default = ["server", "tui"]
server = ["dep:log", "dep:simplelog"]
tui = ["dep:ratatui", "dep:crossterm"]

[[bin]]
name = "okr"
path = "src/bin/okr.rs"
required-features = ["tui"]
