# 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.89.0"
name = "sui-dockerfile-wrapper"
version = "0.1.27"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Intercept/resolve/fall-through wrapper around `docker build` — cache-first via sui-cache, falling through to real docker on any miss (supa-charge-akeyless-ci Phase 2)"
readme = false
keywords = [
    "nix",
    "docker",
    "cache",
    "ci",
]
categories = ["caching"]
license = "MIT"
repository = "https://github.com/pleme-io/sui"

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

[[bin]]
name = "gha-entrypoint"
path = "src/bin/gha-entrypoint.rs"

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

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

[dependencies.async-trait]
version = "0.1"

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

[dependencies.serde_json]
version = "1"

[dependencies.serde_yaml_ng]
version = "0.10"

[dependencies.sui-cache]
version = "0.1.10"

[dependencies.sui-dockerfile-node-cache-daemon]
version = "0.1.10"

[dependencies.sui-spec]
version = "0.1.10"

[dependencies.thiserror]
version = "2"

[dependencies.tokio]
version = "1"
features = [
    "full",
    "rt",
    "rt-multi-thread",
    "macros",
    "process",
    "time",
    "net",
    "io-util",
]

[dependencies.tracing]
version = "0.1"

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

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

[lints.clippy]
pedantic = "warn"
