-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathCargo.toml
34 lines (30 loc) · 909 Bytes
/
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
[package]
name = "archiver-rs"
version = "0.5.1"
authors = ["Chino Chang <chino@joymoe.com>"]
edition = "2018"
description = "A library for easy interaction with multiple archive formats"
documentation = "https://docs.rs/archiver-rs"
homepage = "https://github.com/JoyMoe/archiver-rs"
keywords = ["bzip2", "gzip", "tar", "xz", "zip"]
license = "MIT"
readme = "README.md"
repository = "https://github.com/JoyMoe/archiver-rs"
[dependencies]
thiserror = "1.0"
bzip2 = { version = "0.4", optional = true }
flate2 = { version = "1.0", optional = true }
tar = { version = "0.4", optional = true }
xz2 = { version = "0.1", optional = true }
[dependencies.zip]
version = "0.5"
default-features = false
features = ["deflate", "time"]
optional = true
[features]
default = ["all"]
all = ["bzip", "gzip", "tar", "xz", "zip"]
bzip = ["bzip2", "zip/bzip2"]
gzip = ["flate2"]
xz = ["xz2"]
zip-all = ["zip", "zip/bzip2"]