1[package]
2name = "weezl"
3version = "0.1.8"
4license = "MIT OR Apache-2.0"
5description = "Fast LZW compression and decompression."
6authors = ["The image-rs Developers"]
7readme = "README.md"
8repository = "https://github.com/image-rs/lzw"
9documentation = "https://docs.rs/weezl"
10edition = "2018"
11exclude = ["benches/*.lzw"]
12
13[lib]
14name = "weezl"
15bench = false
16
17[dependencies.futures]
18optional = true
19version = "0.3.12"
20default-features = false
21features = ["std"]
22
23[dev-dependencies]
24criterion = "0.3.1"
25[dev-dependencies.tokio]
26version = "1"
27default-features = false
28features = ["macros", "io-util", "net", "rt", "rt-multi-thread"]
29[dev-dependencies.tokio-util]
30version = "0.6.2"
31default-features = false
32features = ["compat"]
33
34[features]
35default = ["std"]
36# Enable usage of the standard library and in particular any interface that
37# requires the io interfaces `Read` and `Write`.
38std = ["alloc"]
39# Enable usage of the `alloc` crate. You should always have this feature
40# enabled. Without this feature neither the encoder nor the decoder exists.
41# This is purely a reservation for future possibilities.
42alloc = []
43# Enable usage of `async` through `futures`. This is basically the blocker
44# for `1.0` as we may track its version. Note that this negates no_std right
45# now but implicitly through being required from futures. We also use the
46# `std::io::Error` interface. Note that this features is NOT supported on
47# 1.34.2 but only on stable.
48async = ["futures", "std"]
49
50[[bin]]
51name = "lzw"
52path = "bin/lzw.rs"
53bench = false
54required-features = ["std"]
55
56[[bench]]
57name = "msb8"
58harness = false
59required-features = ["std"]
60
61[[example]]
62name = "lzw-compress"
63required-features = ["std"]
64
65[[example]]
66name = "lzw-decompress"
67required-features = ["std"]
68
69[[test]]
70name = "async"
71required-features = ["async", "std"]
72
73[[test]]
74name = "roundtrip"
75required-features = ["std"]
76
77[[test]]
78name = "roundtrip_vec"
79required-features = ["alloc"]
80
81[[test]]
82name = "implicit_reset"
83required-features = ["std"]
84
85[package.metadata.docs.rs]
86all-features = true
87