# 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 believe there's an error in this file please file an
# issue against the rust-lang/cargo repository. If you're
# editing this file be aware that the upstream Cargo.toml
# will likely look very different (and much more reasonable)

[package]
edition = "2018"
name = "weezl"
version = "0.1.4"
authors = ["HeroicKatora <andreas.molzer@gmx.de>"]
exclude = ["benches/*.lzw"]
description = "Fast LZW compression and decompression."
documentation = "https://docs.rs/weezl"
readme = "README.md"
license = "MIT OR Apache-2.0"
repository = "https://github.com/image-rs/lzw.git"

[lib]
name = "weezl"
bench = false

[[bin]]
name = "lzw"
path = "bin/lzw.rs"
bench = false
required-features = ["std"]

[[example]]
name = "lzw-compress"
required-features = ["std"]

[[example]]
name = "lzw-decompress"
required-features = ["std"]

[[test]]
name = "roundtrip"
required-features = ["std"]

[[test]]
name = "async"
required-features = ["async", "std"]

[[bench]]
name = "msb8"
harness = false
required-features = ["std"]
[dependencies.futures]
version = "0.3.12"
features = ["std"]
optional = true
default-features = false
[dev-dependencies.criterion]
version = "0.3.1"

[dev-dependencies.tokio]
version = "1"
features = ["macros", "io-util", "net", "rt", "rt-multi-thread"]
default-features = false

[dev-dependencies.tokio-util]
version = "0.6.2"
features = ["compat"]
default-features = false

[features]
alloc = []
async = ["futures", "std"]
default = ["std"]
std = ["alloc"]
