facet-args 0.43.2

Type-safe command-line argument parsing powered by Facet reflection
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.90.0"
name = "facet-args"
version = "0.43.2"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Type-safe command-line argument parsing powered by Facet reflection"
homepage = "https://facet.rs"
documentation = "https://docs.rs/facet-args"
readme = "README.md"
keywords = [
    "cli",
    "args",
    "parser",
    "facet",
    "command-line",
]
categories = ["command-line-interface"]
license = "MIT OR Apache-2.0"
repository = "https://github.com/facet-rs/facet-args"

[package.metadata."docs.rs"]
rustdoc-args = [
    "--html-in-header",
    "arborium-header.html",
]

[package.metadata.cargo-shear]
ignored = ["facet-pretty"]

[features]
ariadne = ["dep:ariadne"]
default = ["rich-diagnostics"]
doc = ["facet/doc"]
rich-diagnostics = []

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

[[example]]
name = "args_showcase"
path = "examples/args_showcase.rs"
required-features = ["ariadne"]

[[example]]
name = "demo_errors"
path = "examples/demo_errors.rs"

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

[dependencies.ariadne]
version = "0.6"
optional = true

[dependencies.facet]
version = "0.43.2"

[dependencies.facet-core]
version = "0.43.2"

[dependencies.facet-reflect]
version = "0.43.2"

[dependencies.heck]
version = "0.5.0"

[dependencies.owo-colors]
version = "4"

[dependencies.tracing]
version = "^0.1.43"
features = ["std"]
default-features = false

[dev-dependencies.insta]
version = "^1.44.3"

[lints.rust.unexpected_cfgs]
level = "warn"
priority = 0
check-cfg = ["cfg(facet_no_doc)"]