Skip to content

Commit 15f650a

Browse files
committed
feat(service): relax service module feature
1 parent a77d866 commit 15f650a

File tree

2 files changed

+3
-6
lines changed

2 files changed

+3
-6
lines changed

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ features = ["full"]
1717
rustdoc-args = ["--cfg", "docsrs"]
1818

1919
[dependencies]
20-
hyper = "1.2.0"
20+
hyper = "1.3.0"
2121
futures-util = { version = "0.3.16", default-features = false }
2222
http = "1.0"
2323
http-body = "1.0.0"

src/lib.rs

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,8 @@ mod common;
1212
pub mod rt;
1313
#[cfg(feature = "server")]
1414
pub mod server;
15-
#[cfg(all(
16-
feature = "service",
17-
any(feature = "http1", feature = "http2"),
18-
any(feature = "server", feature = "client")
19-
))]
15+
#[cfg(all(feature = "service"))]
16+
#[cfg_attr(docsrs, doc(cfg(feature = "service")))]
2017
pub mod service;
2118

2219
mod error;

0 commit comments

Comments
 (0)