@@ -32,7 +32,7 @@ clap = "2"
32
32
http- body- util = " 0.1"
33
33
% endif
34
34
hyper = " 1"
35
- hyper- rustls = { version = " 0.27" , default- features = false }
35
+ hyper- rustls = { version = " 0.27" , default- features = false, features = [ " http2 " , " rustls-native-certs " , " native-tokio " ] }
36
36
hyper- util = " 0.1"
37
37
mime = " 0.3"
38
38
serde = { version = " 1" , features = [" derive" ] }
@@ -47,7 +47,7 @@ tokio = { version = "1", features = ["full"] }
47
47
% endif
48
48
url = " 2"
49
49
utoipa = { version = " 4" , optional = true }
50
- yup- oauth2 = { version = " 12" , optional = true }
50
+ yup- oauth2 = { version = " 12" , default - features = false, optional = true }
51
51
52
52
google- apis- common = { path = " ../../google-apis-common" , version = " 7" }
53
53
% if cargo.get(' is_executable' ):
@@ -71,7 +71,10 @@ version = "${util.crate_version()}"
71
71
72
72
% if not cargo.get(' is_executable' ):
73
73
[features]
74
- default = ["yup-oauth2"]
74
+ default = ["yup-oauth2", "ring" ]
75
75
utoipa = ["dep:utoipa"]
76
76
yup-oauth2 = ["dep:yup-oauth2", "google-apis-common/yup-oauth2"]
77
+ yup-oauth2-service-account = ["yup-oauth2", "yup-oauth2/service-account", "google-apis-common/yup-oauth2-service-account"]
78
+ aws-lc-rs = ["yup-oauth2?/aws-lc-rs", "google-apis-common/aws-lc-rs", "hyper-rustls/aws-lc-rs"]
79
+ ring = ["yup-oauth2?/ring", "google-apis-common/ring", "hyper-rustls/ring"]
77
80
% endif
0 commit comments