# 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.95"
name = "bougie-scripts"
version = "0.46.1"
authors = ["Jelle Besseling <jelle@pingiun.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Opt-in execution of root composer.json scripts: parse + classify entries (@php, @composer, @putenv, @alias, shell, callbacks) and dispatch lifecycle events. FS/PHP-agnostic — the host injects a ScriptContext. PHP-callback entries are warn-skipped except a host-registered native allowlist."
readme = false
license = "EUPL-1.2"
repository = "https://github.com/cresset-tools/bougie"

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

[dependencies.eyre]
version = "0.6"

[dependencies.serde_json]
version = "1.0"
features = ["preserve_order"]

[dependencies.wait-timeout]
version = "0.2"

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

[target."cfg(unix)".dependencies.nix]
version = "0.29"
features = ["signal"]

[lints.clippy]
missing_errors_doc = "allow"
module_name_repetitions = "allow"
must_use_candidate = "allow"

[lints.clippy.pedantic]
level = "warn"
priority = -1

[lints.rust]
missing_debug_implementations = "warn"
unsafe_code = "deny"
