| 1 |
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO |
| 2 |
# |
| 3 |
# When uploading crates to the registry Cargo will automatically |
| 4 |
# "normalize" Cargo.toml files for maximal compatibility |
| 5 |
# with all versions of Cargo and also rewrite `path` dependencies |
| 6 |
# to registry (e.g., crates.io) dependencies. |
| 7 |
# |
| 8 |
# If you are reading this file be aware that the original Cargo.toml |
| 9 |
# will likely look very different (and much more reasonable). |
| 10 |
# See Cargo.toml.orig for the original contents. |
| 11 |
|
| 12 |
[package] |
| 13 |
edition = "2018" |
| 14 |
name = "weezl" |
| 15 |
version = "0.1.12" |
| 16 |
authors = ["The image-rs Developers"] |
| 17 |
build = false |
| 18 |
exclude = ["benches/*.lzw"] |
| 19 |
autolib = false |
| 20 |
autobins = false |
| 21 |
autoexamples = false |
| 22 |
autotests = false |
| 23 |
autobenches = false |
| 24 |
description = "Fast LZW compression and decompression." |
| 25 |
documentation = "https://docs.rs/weezl" |
| 26 |
readme = "README.md" |
| 27 |
license = "MIT OR Apache-2.0" |
| 28 |
repository = "https://github.com/image-rs/weezl" |
| 29 |
|
| 30 |
[package.metadata.docs.rs] |
| 31 |
all-features = true |
| 32 |
|
| 33 |
[features] |
| 34 |
alloc = [] |
| 35 |
async = [ |
| 36 |
"futures", |
| 37 |
"std", |
| 38 |
] |
| 39 |
default = ["std"] |
| 40 |
std = ["alloc"] |
| 41 |
|
| 42 |
[lib] |
| 43 |
name = "weezl" |
| 44 |
path = "src/lib.rs" |
| 45 |
bench = false |
| 46 |
|
| 47 |
[[bin]] |
| 48 |
name = "lzw" |
| 49 |
path = "bin/lzw.rs" |
| 50 |
bench = false |
| 51 |
required-features = ["std"] |
| 52 |
|
| 53 |
[[example]] |
| 54 |
name = "lzw-compress" |
| 55 |
path = "examples/lzw-compress.rs" |
| 56 |
required-features = ["std"] |
| 57 |
|
| 58 |
[[example]] |
| 59 |
name = "lzw-decompress" |
| 60 |
path = "examples/lzw-decompress.rs" |
| 61 |
required-features = ["std"] |
| 62 |
|
| 63 |
[[test]] |
| 64 |
name = "async" |
| 65 |
path = "tests/async.rs" |
| 66 |
required-features = [ |
| 67 |
"async", |
| 68 |
"std", |
| 69 |
] |
| 70 |
|
| 71 |
[[test]] |
| 72 |
name = "end_of_buffer" |
| 73 |
path = "tests/end_of_buffer.rs" |
| 74 |
required-features = ["alloc"] |
| 75 |
|
| 76 |
[[test]] |
| 77 |
name = "implicit_reset" |
| 78 |
path = "tests/implicit_reset.rs" |
| 79 |
required-features = ["std"] |
| 80 |
|
| 81 |
[[test]] |
| 82 |
name = "roundtrip" |
| 83 |
path = "tests/roundtrip.rs" |
| 84 |
required-features = ["std"] |
| 85 |
|
| 86 |
[[test]] |
| 87 |
name = "roundtrip_vec" |
| 88 |
path = "tests/roundtrip_vec.rs" |
| 89 |
required-features = ["alloc"] |
| 90 |
|
| 91 |
[[bench]] |
| 92 |
name = "msb8" |
| 93 |
path = "benches/msb8.rs" |
| 94 |
harness = false |
| 95 |
required-features = ["std"] |
| 96 |
|
| 97 |
[dependencies.futures] |
| 98 |
version = "0.3.12" |
| 99 |
features = ["std"] |
| 100 |
optional = true |
| 101 |
default-features = false |
| 102 |
|
| 103 |
[dev-dependencies.criterion] |
| 104 |
version = "0.3.1" |
| 105 |
|
| 106 |
[dev-dependencies.tokio] |
| 107 |
version = "1" |
| 108 |
features = [ |
| 109 |
"macros", |
| 110 |
"io-util", |
| 111 |
"net", |
| 112 |
"rt", |
| 113 |
"rt-multi-thread", |
| 114 |
] |
| 115 |
default-features = false |
| 116 |
|
| 117 |
[dev-dependencies.tokio-util] |
| 118 |
version = "0.6.2" |
| 119 |
features = ["compat"] |
| 120 |
default-features = false |