[package]
edition = "2024"
name = "schemaui-cli"
version = "0.4.2"
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"
[package.metadata.binstall]
pkg-url = "{ repo }/releases/download/schemaui-cli-v{ version }/schemaui-{ target }{ archive-suffix }"
bin-dir = "{ bin }{ binary-ext }"
[package.metadata.binstall.overrides.'cfg(not(target_os = "windows"))']
pkg-fmt = "tgz"
[package.metadata.binstall.overrides.'cfg(target_os = "windows")']
pkg-fmt = "zip"
[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 = "arg_order"
path = "tests/arg_order.rs"
[[test]]
name = "help"
path = "tests/help.rs"
[[test]]
name = "recursive_snapshot"
path = "tests/recursive_snapshot.rs"
[dependencies.clap]
version = "4.6.0"
features = ["derive"]
[dependencies.color-eyre]
version = "0.6.5"
[dependencies.schemaui]
version = "0.7.1"
[dependencies.serde_json]
version = "1"
[dependencies.tokio]
version = "1.50.0"
features = ["rt-multi-thread"]
optional = true
[dev-dependencies.assert_cmd]
version = "2.2.0"
[dev-dependencies.predicates]
version = "3.1.4"