File: Cargo.toml

package info (click to toggle)
rust-http-cache-reqwest 0.16.0-1
  • links: PTS, VCS
  • area: main
  • in suites:
  • size: 172 kB
  • sloc: makefile: 2
file content (101 lines) | stat: -rw-r--r-- 2,079 bytes parent folder | download | duplicates (2)
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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2021"
rust-version = "1.82.0"
name = "http-cache-reqwest"
version = "0.16.0"
authors = [
    "Christian Haynes <06chaynes@gmail.com>",
    "Kat Marchán <kzm@zkat.tech>",
]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "http-cache middleware implementation for reqwest"
homepage = "https://http-cache.rs"
readme = "README.md"
keywords = [
    "cache",
    "http",
    "middleware",
    "reqwest",
]
categories = [
    "caching",
    "web-programming::http-client",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/06chaynes/http-cache"

[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
    "--cfg",
    "docsrs",
]

[features]
default = ["manager-cacache"]
manager-cacache = [
    "http-cache/manager-cacache",
    "http-cache/cacache-tokio",
]
manager-moka = ["http-cache/manager-moka"]

[lib]
name = "http_cache_reqwest"
path = "src/lib.rs"

[dependencies.anyhow]
version = "1.0.95"

[dependencies.async-trait]
version = "0.1.85"

[dependencies.http]
version = "1.2.0"

[dependencies.http-cache]
version = "0.21.0"
default-features = false

[dependencies.http-cache-semantics]
version = "2.1.0"

[dependencies.reqwest]
version = "0.12.12"
default-features = false

[dependencies.reqwest-middleware]
version = "0.4.0"

[dependencies.serde]
version = "1.0.217"
features = ["derive"]

[dependencies.url]
version = "2.5.4"
features = ["serde"]

[dev-dependencies.tokio]
version = "1.43.0"
features = [
    "macros",
    "rt-multi-thread",
]

[dev-dependencies.wiremock]
version = "0.6.0"