fast-yaml-cli 0.5.1

Fast YAML command-line processor with validation and linting
Documentation
# 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"
rust-version = "1.88.0"
name = "fast-yaml-cli"
version = "0.5.1"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Fast YAML command-line processor with validation and linting"
readme = "README.md"
keywords = [
    "yaml",
    "cli",
    "parser",
    "linter",
    "converter",
]
categories = [
    "command-line-utilities",
    "development-tools",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/bug-ops/fast-yaml"
resolver = "2"

[features]
all = [
    "colors",
    "linter",
    "arena",
]
arena = ["fast-yaml-core/arena"]
colors = [
    "dep:colored",
    "dep:is-terminal",
]
default = [
    "colors",
    "linter",
    "arena",
]
linter = ["dep:fast-yaml-linter"]

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

[[bin]]
name = "fy"
path = "src/main.rs"

[[test]]
name = "backward_compat"
path = "tests/backward_compat.rs"

[[test]]
name = "batch_format"
path = "tests/batch_format.rs"

[[test]]
name = "cli_tests"
path = "tests/cli_tests.rs"

[[test]]
name = "integration_tests"
path = "tests/integration_tests.rs"

[[bench]]
name = "discovery_bench"
path = "benches/discovery_bench.rs"
harness = false

[dependencies.anyhow]
version = "1"

[dependencies.clap]
version = "4.5"
features = [
    "derive",
    "cargo",
    "env",
    "wrap_help",
]

[dependencies.colored]
version = "3.1"
optional = true

[dependencies.fast-yaml-core]
version = "0.5.1"
features = ["streaming"]

[dependencies.fast-yaml-linter]
version = "0.5.1"
features = ["json-output"]
optional = true

[dependencies.fast-yaml-parallel]
version = "0.5.1"

[dependencies.glob]
version = "0.3"

[dependencies.globset]
version = "0.4"

[dependencies.ignore]
version = "0.4"

[dependencies.is-terminal]
version = "0.4"
optional = true

[dependencies.num_cpus]
version = "1.17"

[dependencies.ordered-float]
version = "5"

[dependencies.rayon]
version = "1.11"

[dependencies.serde_json]
version = "1.0"

[dependencies.thiserror]
version = "2.0"

[dev-dependencies.assert_cmd]
version = "2.1"

[dev-dependencies.criterion]
version = "0.8"

[dev-dependencies.indoc]
version = "2.0"

[dev-dependencies.predicates]
version = "3.1"

[dev-dependencies.proptest]
version = "1.10"

[dev-dependencies.tempfile]
version = "3.25"

[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]
dead_code = "allow"
missing_docs = "warn"
unsafe_code = "deny"