Skip to content

Commit

Permalink
feat(service): relax service module feature
Browse files Browse the repository at this point in the history
  • Loading branch information
tottoto committed May 2, 2024
1 parent f1142a4 commit d3af0f1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ features = ["full"]
rustdoc-args = ["--cfg", "docsrs"]

[dependencies]
hyper = "1.2.0"
hyper = "1.3.0"
futures-util = { version = "0.3.16", default-features = false }
http = "1.0"
http-body = "1.0.0"
Expand Down
6 changes: 1 addition & 5 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,7 @@ mod common;
pub mod rt;
#[cfg(feature = "server")]
pub mod server;
#[cfg(all(
feature = "service",
any(feature = "http1", feature = "http2"),
any(feature = "server", feature = "client")
))]
#[cfg(feature = "service")]
pub mod service;

mod error;

0 comments on commit d3af0f1

Please sign in to comment.