# 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 = "2021" name = "oci-unpack" version = "0.1.0" authors = ["ayosec@gmail.com"] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "Download and unpack OCI images." documentation = "https://docs.rs/oci-unpack" readme = "README.md" keywords = [ "container-image", "oci", ] license = "Apache-2.0" repository = "https://github.com/lab-tool/oci-unpack" [lib] name = "oci_unpack" path = "src/lib.rs" [[example]] name = "unpack" path = "examples/unpack.rs" [[test]] name = "basics" path = "tests/basics.rs" [[test]] name = "invalid_layers" path = "tests/invalid_layers.rs" [dependencies.digest] version = "0.10.7" default-features = false [dependencies.flate2] version = "1.0.34" [dependencies.landlock] version = "0.4.1" optional = true [dependencies.libc] version = "0" [dependencies.lru] version = "0.12.5" default-features = false [dependencies.rustix] version = "0.38.37" features = [ "fs", "process", ] [dependencies.serde] version = "1.0.210" features = ["derive"] [dependencies.serde_json] version = "1.0.128" [dependencies.sha2] version = "0.10.8" [dependencies.tar] version = "0.4.42" [dependencies.thiserror] version = "1.0.64" [dependencies.tiny_http] version = "0.12.0" default-features = false [dependencies.ureq] version = "2.10.1" [dev-dependencies.clap] version = "4.5.19" features = ["derive"] [dev-dependencies.tempfile] version = "3.13.0" [dev-dependencies.url] version = "2.5.2" [features] default = ["sandbox"] sandbox = ["dep:landlock"]