safe-chains 0.37.0

Auto-allow safe, read-only bash commands in agentic coding tools
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.91"
name = "safe-chains"
version = "0.37.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Auto-allow safe, read-only bash commands in agentic coding tools"
readme = "README.md"
license = "MIT OR Apache-2.0"
repository = "https://github.com/michaeldhopkins/safe-chains"

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

[[bin]]
name = "safe-chains"
path = "src/main.rs"

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

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

[dependencies.clap]
version = "4"
features = ["derive"]

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

[dependencies.serde_json]
version = "1"

[dependencies.shell-words]
version = "1"

[dev-dependencies.clap_complete]
version = "4"

[dev-dependencies.clap_mangen]
version = "0.2"

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

[lints.clippy]
bool_to_int_with_if = "warn"
cognitive-complexity = "warn"
collapsible-if = "deny"
extend_with_drain = "deny"
fn-params-excessive-bools = "deny"
match_bool = "warn"
needless-range-loop = "deny"
struct-excessive-bools = "deny"
too-many-arguments = "deny"
too-many-lines = "warn"