id_effect_cli 0.4.0

CLI helpers for id_effect: optional clap, Exit/Cause → ExitCode, tracing init, run_main
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"
name = "id_effect_cli"
version = "0.4.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "CLI helpers for id_effect: optional clap, Exit/Cause → ExitCode, tracing init, run_main"
readme = "README.md"
license = "CC-BY-SA-4.0"
repository = "https://github.com/Industrial/id_effect"
resolver = "2"

[features]
clap = ["dep:clap"]
default = ["clap"]

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

[[bin]]
name = "id-effect"
path = "src/bin/id-effect.rs"

[[bin]]
name = "id-effect-diagnose"
path = "src/bin/id-effect-diagnose.rs"
required-features = ["clap"]

[[bin]]
name = "ie_cli_probe"
path = "src/bin/ie_cli_probe.rs"
required-features = ["clap"]

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

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

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

[dependencies.clap]
version = "4.5"
features = [
    "std",
    "derive",
    "help",
    "usage",
    "error-context",
]
optional = true
default-features = false

[dependencies.id_effect]
version = "0.4.0"

[dependencies.serde]
version = "1"
features = ["derive"]

[dependencies.serde_json]
version = "1"

[dependencies.toml]
version = "1.1"

[dev-dependencies.rstest]
version = "0.26"

[lints.rust]
unsafe_code = "forbid"

[lints.rust.unexpected_cfgs]
level = "warn"
priority = 0
check-cfg = [
    "cfg(coverage)",
    'cfg(feature, values("mock", "clap"))',
]