# 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 = "figue"
version = "2.0.2"
authors = ["Amos Wenger <amos@bearcove.eu>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Type-safe CLI arguments, config files, and environment variables powered by Facet reflection"
homepage = "https://github.com/bearcove/figue"
documentation = "https://docs.rs/figue"
readme = "README.md"
keywords = [
    "cli",
    "args",
    "parser",
    "facet",
    "command-line",
]
categories = ["command-line-interface"]
license = "MIT OR Apache-2.0"
repository = "https://github.com/bearcove/figue"

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

[features]
default = ["rich-diagnostics"]
doc = ["facet/doc"]
rich-diagnostics = []
tracing = [
    "facet-reflect/tracing",
    "facet-json/tracing",
    "facet-format/tracing",
]

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

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

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

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

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

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

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

[dependencies.ariadne]
version = "0.6"

[dependencies.camino]
version = "1.1"

[dependencies.facet]
version = "0.45"
features = [
    "indexmap",
    "camino",
    "net",
]

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

[dependencies.facet-error]
version = "0.44.0"

[dependencies.facet-format]
version = "0.44.0"

[dependencies.facet-json]
version = "0.44.0"

[dependencies.facet-pretty]
version = "0.44.0"

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

[dependencies.figue-attrs]
version = "2.0.2"

[dependencies.heck]
version = "0.5.0"

[dependencies.indexmap]
version = "2"

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

[dependencies.strip-ansi-escapes]
version = "0.2.1"

[dependencies.strsim]
version = "0.11"

[dependencies.supports-color]
version = "3"

[dependencies.tracing]
version = "0.1"

[dependencies.unicode-width]
version = "0.2.2"

[dev-dependencies.facet]
version = "0.45"
features = [
    "indexmap",
    "camino",
    "net",
    "all-impls",
]

[dev-dependencies.facet-format]
version = "0.44.0"
features = ["tracing"]

[dev-dependencies.facet-json]
version = "0.44.0"
features = ["tracing"]

[dev-dependencies.facet-reflect]
version = "0.44.0"
features = ["tracing"]

[dev-dependencies.facet-solver]
version = "0.44.0"

[dev-dependencies.facet-testhelpers]
version = "0.44.0"

[dev-dependencies.insta]
version = "1"

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