-
Notifications
You must be signed in to change notification settings - Fork 16
/
Copy pathCargo.toml
54 lines (49 loc) · 1.22 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
47
48
49
50
51
52
53
54
[package]
name = "cached-path"
version = "0.6.1"
authors = ["epwalsh <epwalsh10@gmail.com>"]
edition = "2018"
keywords = ["http", "caching"]
categories = ["caching"]
license = "Apache-2.0"
readme = "README.md"
repository = "https://github.com/epwalsh/rust-cached-path"
homepage = "https://github.com/epwalsh/rust-cached-path"
description = "Download and cache HTTP resources."
[lib]
name = "cached_path"
path = "src/lib.rs"
[[bin]]
name = "cached-path"
path = "src/main.rs"
doc = false
required-features = ["build-binary"]
[dependencies]
fs2 = "0.4"
reqwest = { version = "0.11.0", default-features = false, features = [
"blocking",
] }
sha2 = "0.10"
tempfile = "3.1"
log = "0.4"
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
rand = "0.8"
glob = "0.3"
thiserror = "1.0"
flate2 = "1.0"
tar = "0.4"
zip = "0.6"
indicatif = "0.16"
env_logger = { version = "0.10", optional = true }
structopt = { version = "0.3", optional = true }
color-eyre = { version = "0.6", optional = true }
[features]
default = ["default-tls"]
build-binary = ["env_logger", "structopt", "color-eyre"]
rustls-tls = ["reqwest/rustls-tls"]
default-tls = ["reqwest/default-tls"]
[dev-dependencies]
httpmock = "0.5"
assert_cmd = "1.0"
predicates = "2.1"