Skip to content

Commit

Permalink
Renaming feature : test-util
Browse files Browse the repository at this point in the history
  • Loading branch information
Baptiste LE MORLEC committed Nov 27, 2023
1 parent 3009841 commit 79922bf
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ rustls-tls = ["reqwest/rustls-tls", "graph-http/rustls-tls", "graph-oauth/rustls
brotli = ["reqwest/brotli"]
deflate = ["reqwest/deflate"]
trust-dns = ["reqwest/trust-dns"]
https-not-required = ["graph-http/https-not-required"]
test-util = ["graph-http/test-util"]

[dev-dependencies]
bytes = { version = "1.4.0" }
Expand Down
2 changes: 1 addition & 1 deletion graph-http/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -33,4 +33,4 @@ graph-core = { path = "../graph-core" }
default = ["native-tls"]
native-tls = ["reqwest/native-tls"]
rustls-tls = ["reqwest/rustls-tls"]
https-not-required = []
test-util = []
2 changes: 1 addition & 1 deletion graph-http/src/client.rs
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ impl GraphClientConfiguration {
self
}

#[cfg(feature = "https-not-required")]
#[cfg(feature = "test-util")]
pub fn https_only(mut self, https_only: bool) -> GraphClientConfiguration {
self.config.https_only = https_only;
self
Expand Down

0 comments on commit 79922bf

Please sign in to comment.