# 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 = "2024"
name = "oker"
version = "0.8.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Web Backend framework for rust"
readme = false
license = "LGPL-3.0-only"

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

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

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

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

[dependencies.crossterm]
version = "0.27"
optional = true

[dependencies.log]
version = "0.4.29"
optional = true

[dependencies.ratatui]
version = "0.26"
optional = true

[dependencies.serde_json]
version = "1.0"

[dependencies.simplelog]
version = "0.12.2"
optional = true

[dependencies.wasm-bindgen]
version = "0.2"
