# 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 = "stream-unpack"
version = "1.2.0"
authors = ["mkrsym1 <mkrsym1@gmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A small library for stream unpacking archives"
readme = "README.md"
license = "GPL-3.0"
repository = "https://github.com/mkrsym1/stream-unpack"

[features]
default = [
    "zip",
    "deflate",
]
deflate = ["dep:inflate"]
zip = []
zip-comments = ["zip"]
zipcrypto = []

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

[[example]]
name = "archive"
path = "examples/archive.rs"

[[example]]
name = "multipart"
path = "examples/multipart.rs"

[dependencies.anyhow]
version = "1"

[dependencies.byteorder]
version = "1.5"

[dependencies.inflate]
version = "0.4"
optional = true

[dependencies.thiserror]
version = "1"
