forked from alexcrichton/xz2-rs
-
Notifications
You must be signed in to change notification settings - Fork 5
/
Cargo.toml
46 lines (39 loc) · 1.38 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
[package]
name = "liblzma"
version = "0.3.5"
authors = ["Alex Crichton <[email protected]>", "Portable-Network-Archive Developers"]
license = "MIT OR Apache-2.0"
readme = "README.md"
keywords = ["lzma", "xz", "encoding", "wasm"]
repository = "https://github.com/portable-network-archive/liblzma-rs"
homepage = "https://github.com/portable-network-archive/liblzma-rs"
description = """
Rust bindings to liblzma providing Read/Write streams as well as low-level
in-memory encoding/decoding. forked from xz2.
"""
categories = ["compression", "api-bindings"]
edition = "2021"
exclude = [".github/"]
[workspace]
members = ["systest"]
[dependencies]
liblzma-sys = { path = "liblzma-sys", version = "0.3.7", default-features = false }
tokio-io = { version = "0.1.12", optional = true }
futures = { version = "0.1.26", optional = true }
num_cpus = { version = "1.16.0", optional = true }
[dev-dependencies]
rand = "0.8.0"
quickcheck = "1.0.1"
[target.'cfg(target_arch = "wasm32")'.dev-dependencies]
getrandom = { version = "0.2", features = ["js"] }
[target.'cfg(not(target_arch = "wasm32"))'.dev-dependencies]
tokio-core = "0.1.17"
[features]
default = ["bindgen"]
tokio = ["tokio-io", "futures"]
static = ["liblzma-sys/static"]
parallel = ["liblzma-sys/parallel", "num_cpus"]
bindgen = ["liblzma-sys/bindgen"]
wasm = ["liblzma-sys/wasm"]
[package.metadata.docs.rs]
features = ["tokio-io", "futures", "parallel"]