Skip to content

Commit 0f97616

Browse files
committed
reqwest_json
1 parent d20ad22 commit 0f97616

File tree

3 files changed

+6
-0
lines changed

3 files changed

+6
-0
lines changed

Cargo.lock

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

plus/bencher_google_client/Cargo.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,9 @@ oauth2.workspace = true
1212
serde.workspace = true
1313
thiserror.workspace = true
1414
url.workspace = true
15+
# Required due to feature unification
16+
# https://doc.rust-lang.org/cargo/reference/features.html#feature-unification
17+
reqwest = { workspace = true, features = ["json", "rustls-tls"] }
1518

1619
[lints]
1720
workspace = true

plus/bencher_google_client/src/lib.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ use oauth2::{
55
AuthUrl, AuthorizationCode, ClientId, ClientSecret, CsrfToken, EndpointNotSet, EndpointSet,
66
RedirectUrl, Scope, TokenResponse as _, TokenUrl, basic::BasicClient, reqwest,
77
};
8+
#[expect(unused_imports, reason = "Reqwest `json` feature")]
9+
use reqwest as _;
810
use serde::Deserialize;
911
use url::Url;
1012

0 commit comments

Comments
 (0)