-
-
Notifications
You must be signed in to change notification settings - Fork 18
/
Copy pathCargo.toml
43 lines (38 loc) · 1.2 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
[package]
name = "http-cache-reqwest"
version = "0.15.0"
description = "http-cache middleware implementation for reqwest"
authors = ["Christian Haynes <06chaynes@gmail.com>", "Kat Marchán <kzm@zkat.tech>"]
repository = "https://github.com/06chaynes/http-cache"
homepage = "https://http-cache.rs"
license = "MIT OR Apache-2.0"
readme = "README.md"
keywords = ["cache", "http", "middleware", "reqwest"]
categories = [
"caching",
"web-programming::http-client"
]
edition = "2021"
[dependencies]
anyhow = "1.0.72"
async-trait = "0.1.72"
http = "1.1.0"
http-cache-semantics = "2.1.0"
reqwest = { version = "0.12.3", default-features = false }
reqwest-middleware = "0.4.0"
serde = { version = "1.0.178", features = ["derive"] }
url = { version = "2.4.0", features = ["serde"] }
[dependencies.http-cache]
path = "../http-cache"
version = "0.20.0"
default-features = false
[dev-dependencies]
tokio = { version = "1.29.1", features = ["macros", "rt-multi-thread"] }
wiremock = "0.6.0"
[features]
default = ["manager-cacache"]
manager-cacache = ["http-cache/manager-cacache", "http-cache/cacache-tokio"]
manager-moka = ["http-cache/manager-moka"]
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]