Skip to content

Commit

Permalink
oauth: expose tls features
Browse files Browse the repository at this point in the history
  • Loading branch information
kingosticks committed Oct 29, 2024
1 parent f96f36c commit e3a62b0
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion oauth/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,15 @@ edition = "2021"

[dependencies]
log = "0.4"
oauth2 = "4.4"
oauth2 = { version = "4.4", default-features = false }
thiserror = "1.0"
url = "2.2"

[dev-dependencies]
env_logger = { version = "0.11.2", default-features = false, features = ["color", "humantime", "auto-color"] }
oauth2 = { version = "4.4", features = ["rustls-tls"] }

[features]
rustls-tls = ["oauth2/rustls-tls"]
native-tls = ["oauth2/native-tls"]
default = ["rustls-tls"]

0 comments on commit e3a62b0

Please sign in to comment.