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 Mar 18, 2024
1 parent 16daef6 commit d06299a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
3 changes: 3 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@ edition = "2021"
features = ["full"]
rustdoc-args = ["--cfg", "docsrs"]

[patch.crates-io]
hyper = { git = "https://github.com/hyperium/hyper", rev = "refs/pull/3591/head" }

[dependencies]
hyper = "1.2.0"
futures-util = { version = "0.3.16", default-features = false }
Expand Down
7 changes: 2 additions & 5 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,8 @@ 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(all(feature = "service"))]
#[cfg_attr(docsrs, doc(cfg(feature = "service")))]
pub mod service;

mod error;

0 comments on commit d06299a

Please sign in to comment.