[package]
edition = "2024"
name = "schemaui-cli"
version = "0.2.8"
authors = ["unic <yuniqueunic@gmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "CLI wrapper for schemaui, rendering JSON Schemas as TUIs"
readme = "cli_usage.md"
keywords = [
"tui",
"schema",
"configuration",
"terminal",
"cross-platform",
]
categories = [
"command-line-interface",
"config",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/yuniqueunic/schemaui/schemaui-cli"
[features]
default = [
"full",
"web",
]
full = [
"json",
"yaml",
"toml",
"web",
]
json = ["schemaui/json"]
toml = ["schemaui/toml"]
web = [
"schemaui/web",
"dep:tokio",
]
yaml = ["schemaui/yaml"]
[lib]
name = "schemaui_cli"
path = "src/lib.rs"
[[bin]]
name = "schemaui"
path = "src/main.rs"
[[test]]
name = "help"
path = "tests/help.rs"
[dependencies.clap]
version = "4.5"
features = ["derive"]
[dependencies.color-eyre]
version = "0.6"
[dependencies.schemaui]
version = "0.5.0"
[dependencies.serde_json]
version = "1"
[dependencies.tokio]
version = "1"
features = ["rt-multi-thread"]
optional = true
[dev-dependencies.assert_cmd]
version = "2"
[dev-dependencies.predicates]
version = "3"
[profile.release]
opt-level = "z"
lto = true
codegen-units = 1
panic = "abort"
strip = "debuginfo"