# 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"
version = "0.35.1"
authors = ["Jelle Besseling <jelle@pingiun.com>"]
build = false
exclude = [
    "/tests/fixtures/cross-check",
    "/examples",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
default-run = "bougie"
description = "PHP toolchain management the luxury way."
readme = false
license = "EUPL-1.2"
repository = "https://github.com/cresset-tools/bougie"

[package.metadata.dist]
dist = true

[features]
cross-check-fixtures = []
default = ["dev-trust-root"]
dev-trust-root = ["bougie-index/dev-trust-root"]
test-fixtures = []

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

[[bin]]
name = "bgx"
path = "src/bin/bgx.rs"

[[bin]]
name = "bougie"
path = "src/main.rs"

[[bin]]
name = "fake-redis"
path = "tests/fixtures/fake_redis.rs"
required-features = ["test-fixtures"]

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

[dependencies.bougie-autoloader]
version = "0.35.1"

[dependencies.bougie-backend]
version = "0.35.1"

[dependencies.bougie-cli]
version = "0.35.1"

[dependencies.bougie-composer]
version = "0.35.1"

[dependencies.bougie-composer-resolver]
version = "0.35.1"

[dependencies.bougie-config]
version = "0.35.1"

[dependencies.bougie-errors]
version = "0.35.1"

[dependencies.bougie-fetch]
version = "0.35.1"

[dependencies.bougie-fs]
version = "0.35.1"

[dependencies.bougie-index]
version = "0.35.1"
default-features = false

[dependencies.bougie-installer]
version = "0.35.1"

[dependencies.bougie-installers]
version = "0.35.1"

[dependencies.bougie-output]
version = "0.35.1"

[dependencies.bougie-patches]
version = "0.35.1"

[dependencies.bougie-paths]
version = "0.35.1"

[dependencies.bougie-php-discovery]
version = "0.35.1"

[dependencies.bougie-platform]
version = "0.35.1"

[dependencies.bougie-resolver]
version = "0.35.1"

[dependencies.bougie-scripts]
version = "0.35.1"

[dependencies.bougie-server]
version = "0.35.1"

[dependencies.bougie-tool]
version = "0.35.1"

[dependencies.bougie-version]
version = "0.35.1"

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

[dependencies.color-eyre]
version = "0.6"

[dependencies.composer-semver]
version = "0.1.0"

[dependencies.eyre]
version = "0.6"

[dependencies.flate2]
version = "1"

[dependencies.reqwest]
version = "0.13"
features = [
    "blocking",
    "rustls",
    "stream",
    "json",
]
default-features = false

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

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

[dependencies.sha2]
version = "0.11"

[dependencies.spdx]
version = "0.10"

[dependencies.tar]
version = "0.4"

[dependencies.tempfile]
version = "3.10"

[dependencies.toml_edit]
version = "0.25"
features = ["serde"]

[dependencies.tracing]
version = "0.1"

[dependencies.tracing-subscriber]
version = "0.3"
features = [
    "env-filter",
    "fmt",
    "std",
]
default-features = false

[dependencies.walkdir]
version = "2.5"

[dependencies.zip]
version = "8.0"
features = ["deflate"]
default-features = false

[target."cfg(unix)".dependencies.bougie-babysit]
version = "0.35.1"

[target."cfg(unix)".dependencies.bougie-daemon]
version = "0.35.1"

[target."cfg(unix)".dependencies.bougie-recipe]
version = "0.35.1"

[target."cfg(unix)".dependencies.sandbox-run]
version = "0.35.1"

[target."cfg(unix)".dependencies.signal-hook]
version = "0.3"

[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"
