Skip to content

Commit 285cc87

Browse files
committed
chore(lib): add hyper-spider fork
1 parent c39da45 commit 285cc87

File tree

1 file changed

+10
-7
lines changed

1 file changed

+10
-7
lines changed

Cargo.toml

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[package]
2-
name = "hyper-util"
2+
name = "hyper-util-spider"
33
version = "0.1.11"
44
description = "hyper utilities"
55
readme = "README.md"
@@ -13,12 +13,15 @@ categories = ["network-programming", "web-programming::http-client", "web-progra
1313
edition = "2021"
1414
rust-version = "1.63"
1515

16+
[lib]
17+
name = "hyper_util"
18+
1619
[package.metadata.docs.rs]
1720
features = ["full"]
1821
rustdoc-args = ["--cfg", "docsrs"]
1922

2023
[dependencies]
21-
hyper = "1.6.0"
24+
hyper-spider = "1.6.0"
2225
futures-util = { version = "0.3.16", default-features = false }
2326
http = "1.0"
2427
http-body = "1.0.0"
@@ -32,7 +35,7 @@ tower-service = { version = "0.3", optional = true }
3235
libc = { version = "0.2", optional = true }
3336

3437
[dev-dependencies]
35-
hyper = { version = "1.4.0", features = ["full"] }
38+
hyper-spider = { version = "1.6.0", features = ["full"] }
3639
bytes = "1"
3740
http-body-util = "0.1.0"
3841
tokio = { version = "1", features = ["macros", "test-util", "signal"] }
@@ -59,17 +62,17 @@ full = [
5962
"tracing",
6063
]
6164

62-
client = ["hyper/client", "dep:tracing", "dep:futures-channel", "dep:tower-service"]
65+
client = ["hyper-spider/client", "dep:tracing", "dep:futures-channel", "dep:tower-service"]
6366
client-legacy = ["client", "dep:socket2", "tokio/sync", "dep:libc"]
6467

65-
server = ["hyper/server"]
68+
server = ["hyper-spider/server"]
6669
server-auto = ["server", "http1", "http2"]
6770
server-graceful = ["server", "tokio/sync", "futures-util/alloc"]
6871

6972
service = ["dep:tower-service"]
7073

71-
http1 = ["hyper/http1"]
72-
http2 = ["hyper/http2"]
74+
http1 = ["hyper-spider/http1"]
75+
http2 = ["hyper-spider/http2"]
7376

7477
tokio = ["dep:tokio", "tokio/net", "tokio/rt", "tokio/time"]
7578

0 commit comments

Comments
 (0)