-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathCargo.toml
88 lines (82 loc) · 2.34 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
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
[workspace]
resolver = "2"
members = [
"crates/reqwest",
]
[workspace.package]
license = "MIT OR Apache-2.0"
edition = "2024"
authors = ["The St. Jude Rust Labs project developers"]
homepage = "https://github.com/stjude-rust-labs/http-cache-stream"
repository = "https://github.com/stjude-rust-labs/http-cache-stream"
[workspace.dependencies]
http = "1.2.0"
http-cache-semantics = "2.1.0"
serde = { version = "1.0.218", features = ["derive"] }
http-serde = "2.1.1"
httpdate = "1.0.3"
futures = "0.3.31"
anyhow = "1.0.97"
libc = "0.2.170"
sha2 = "0.10.8"
hex = "0.4.3"
bincode = { version = "2.0.0", features = ["serde"] }
tracing = "0.1.41"
tokio = { version = "1.44.0", default-features = false, features = ["fs", "io-util", "rt"] }
tokio-util = { version = "0.7.13", features = ["io"] }
async-std = "1.13.0"
http-body = "1.0.1"
bytes = "1.10.1"
pin-project-lite = "0.2.16"
cfg-if = "1.0.0"
reqwest = { version = "0.12.14", default-features = false }
reqwest-middleware = "0.4.1"
blake3 = "1.6.1"
tempfile = "3.18.0"
[package]
name = "http-cache-stream"
version = "0.1.0"
description = "A HTTP cache implementation for streaming bodies."
rust-version = "1.85.0"
edition = { workspace = true }
license = { workspace = true }
authors = { workspace = true }
homepage = { workspace = true }
repository = { workspace = true }
[dependencies]
http = { workspace = true }
http-cache-semantics = { workspace = true }
serde = { workspace = true }
http-serde = { workspace = true }
httpdate = { workspace = true }
futures = { workspace = true }
anyhow = { workspace = true }
libc = { workspace = true }
sha2 = { workspace = true }
hex = { workspace = true }
bincode = { workspace = true }
tracing = { workspace = true }
tokio = { workspace = true, optional = true }
tokio-util = { workspace = true, optional = true }
async-std = { workspace = true, optional = true }
http-body = { workspace = true }
bytes = { workspace = true }
pin-project-lite = { workspace = true }
cfg-if = {workspace = true }
blake3 = { workspace = true }
tempfile = { workspace = true }
[features]
default = ["tokio"]
tokio = ["dep:tokio", "dep:tokio-util"]
async-std = ["dep:async-std"]
[target.'cfg(windows)'.dependencies.windows-sys]
version = "0.59"
features = [
"Win32_Foundation",
"Win32_Storage",
"Win32_Storage_FileSystem",
"Win32_System",
"Win32_System_IO",
"Win32_Security",
"Win32_System_Console",
]