[package]
name = "noya-cli"
version = "0.0.5"
edition = "2024"
rust-version = "1.85.0"
license = "MIT OR Apache-2.0"
description = "Command-line tools for noyalib (noyafmt, noyavalidate)"
repository = "https://github.com/sebastienrousseau/noyalib"
homepage = "https://github.com/sebastienrousseau/noyalib"
documentation = "https://docs.rs/noya-cli"
readme = "README.md"
keywords = ["yaml", "cli", "formatter", "validator", "schema"]
categories = ["command-line-utilities", "encoding"]
authors = ["Sebastien Rousseau <sebastian.rousseau@gmail.com>"]
publish = true
[lib]
name = "noya_cli"
path = "src/lib.rs"
[[bin]]
name = "noyafmt"
path = "src/bin/noyafmt.rs"
required-features = ["noyafmt"]
[[bin]]
name = "noyavalidate"
path = "src/bin/noyavalidate.rs"
required-features = ["noyavalidate"]
[dependencies]
noyalib = { path = "../noyalib", version = "0.0.5", default-features = false }
clap = { version = "4.5", features = ["derive", "wrap_help"] }
miette = { version = "7", optional = true, features = ["fancy"] }
[build-dependencies]
clap = { version = "4.5", features = ["derive"] }
clap_complete = "4.5"
clap_mangen = "0.2"
[dev-dependencies]
criterion = "0.5"
[[bench]]
name = "cli_dispatch"
harness = false
[features]
default = ["noyavalidate"]
noyafmt = ["noyalib/std"]
noyavalidate = ["noyafmt", "noyalib/noyavalidate", "dep:miette"]