# 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 = "microsandbox-image"
version = "0.5.10"
authors = ["Super Rad Company <development@superrad.company>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "OCI image pulling, layer extraction, and caching for microsandbox."
readme = "README.md"
license = "Apache-2.0"
repository = "https://github.com/superradcompany/microsandbox"

[lib]
name = "microsandbox_image"
path = "lib/lib.rs"

[dependencies.astral-tokio-tar]
version = "0.6"

[dependencies.async-compression]
version = "0.4"
features = [
    "gzip",
    "tokio",
    "zstd",
]

[dependencies.futures]
version = "0.3"

[dependencies.hex]
version = "0.4"

[dependencies.libc]
version = "0.2"

[dependencies.microsandbox-utils]
version = "=0.5.10"

[dependencies.oci-client]
version = "0.17"

[dependencies.oci-spec]
version = "0.10.0"

[dependencies.rustls-pemfile]
version = "2"

[dependencies.scopeguard]
version = "1.2"

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

[dependencies.serde_json]
version = "1.0"

[dependencies.sha2]
version = "0.11.0"

[dependencies.tar]
version = "0.4"

[dependencies.thiserror]
version = "2.0"

[dependencies.tokio]
version = "1.52"
features = [
    "full",
    "fs",
    "io-util",
    "rt",
    "sync",
]

[dependencies.tokio-util]
version = "0.7"
features = ["io"]

[dependencies.tracing]
version = "0.1"

[dependencies.xattr]
version = "1.3"

[dev-dependencies.rcgen]
version = "0.14"
features = ["x509-parser"]

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