[[bin]]
name = "fy"
path = "src/main.rs"
[dependencies.anyhow]
version = "1"
[dependencies.clap]
features = ["derive", "cargo", "env", "wrap_help"]
version = "4.5"
[dependencies.colored]
optional = true
version = "3.0"
[dependencies.fast-yaml-core]
version = "0.3.3"
[dependencies.fast-yaml-linter]
features = ["json-output"]
optional = true
version = "0.3.3"
[dependencies.is-terminal]
optional = true
version = "0.4"
[dependencies.ordered-float]
version = "5"
[dependencies.serde_json]
version = "1.0"
[dev-dependencies.assert_cmd]
version = "2.1"
[dev-dependencies.indoc]
version = "2.0"
[dev-dependencies.predicates]
version = "3.1"
[dev-dependencies.tempfile]
version = "3.24"
[features]
all = ["colors", "linter"]
colors = ["dep:colored", "dep:is-terminal"]
default = ["colors", "linter"]
linter = ["dep:fast-yaml-linter"]
[lints.clippy]
cargo_common_metadata = "allow"
missing_errors_doc = "allow"
missing_panics_doc = "allow"
module_name_repetitions = "allow"
multiple_crate_versions = "allow"
must_use_candidate = "allow"
[lints.clippy.all]
level = "warn"
priority = -1
[lints.clippy.cargo]
level = "warn"
priority = -1
[lints.clippy.nursery]
level = "warn"
priority = -1
[lints.clippy.pedantic]
level = "warn"
priority = -1
[lints.rust]
missing_docs = "warn"
unsafe_code = "forbid"
[package]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = false
categories = ["command-line-utilities", "development-tools"]
description = "Fast YAML command-line processor with validation and linting"
edition = "2024"
keywords = ["yaml", "cli", "parser", "linter", "converter"]
license = "MIT OR Apache-2.0"
name = "fast-yaml-cli"
readme = "README.md"
repository = "https://github.com/bug-ops/fast-yaml"
resolver = "2"
rust-version = "1.88.0"
version = "0.3.3"
[[test]]
name = "cli_tests"
path = "tests/cli_tests.rs"
[[test]]
name = "integration_tests"
path = "tests/integration_tests.rs"