# 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"
rust-version = "1.85"
name = "smol-tar"
version = "0.1.6"
authors = ["Alexey Naidyonov <alexey.naidyonov@gmail.com>"]
build = false
include = [
    "src/**",
    "Cargo.toml",
    "README.md",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Minimal async tar reader/writer for smol or tokio I/O"
homepage = "https://github.com/growler/smol-tar.rs"
documentation = "https://docs.rs/smol-tar"
readme = "README.md"
keywords = [
    "tar",
    "tarfile",
    "async",
]
license = "MIT"
repository = "https://github.com/growler/smol-tar.rs"

[package.metadata.docs.rs]
features = ["futures"]

[features]
default = ["smol"]
futures = ["dep:futures"]
smol = [
    "dep:async-lock",
    "dep:futures-io",
]
tokio = [
    "dep:tokio",
    "dep:tokio-stream",
]

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

[dependencies.async-lock]
version = "3.4"
optional = true

[dependencies.futures]
version = "0.3"
optional = true

[dependencies.futures-core]
version = "0.3"

[dependencies.futures-io]
version = "0.3"
optional = true

[dependencies.futures-sink]
version = "0.3"

[dependencies.pin-project-lite]
version = "0.2"

[dependencies.tokio]
version = "1"
features = [
    "fs",
    "io-util",
    "rt",
]
optional = true

[dependencies.tokio-stream]
version = "0.1"
optional = true

[dev-dependencies.futures]
version = "0.3"

[dev-dependencies.smol]
version = "2.0"

[dev-dependencies.static_assertions]
version = "1.1"
