diff --git a/Cargo.toml b/Cargo.toml index 988e2c5..c3b6b93 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -43,7 +43,7 @@ itertools = "0.10.0" log = "0.4" percent-encoding = "2" rustls = { version = "0.20.4", optional = true } -rustls-pemfile = { version = "0.3", optional = true } +rustls-pemfile = { version = "1.0.1", optional = true } seahash = "4" serde = {version = "1.0", features = ["derive"]} serde_json = "1.0" @@ -53,10 +53,10 @@ tower-service = "^0.3.1" url = "2" [dev-dependencies] -httptest = "0.14" -env_logger = "0.7" +httptest = "0.15" +env_logger = "0.10" tempfile = "3.1" -webbrowser = "0.5" +webbrowser = "0.8" hyper-rustls = "0.23" [workspace] diff --git a/tests/tests.rs b/tests/tests.rs index f874285..6755787 100644 --- a/tests/tests.rs +++ b/tests/tests.rs @@ -1,9 +1,8 @@ use yup_oauth2::{ authenticator::{DefaultAuthenticator, DefaultHyperClient, HyperClientBuilder}, authenticator_delegate::{DeviceAuthResponse, DeviceFlowDelegate, InstalledFlowDelegate}, - error::{AuthError, AuthErrorCode}, ApplicationDefaultCredentialsAuthenticator, ApplicationDefaultCredentialsFlowOpts, - ApplicationSecret, DeviceFlowAuthenticator, Error, InstalledFlowAuthenticator, + ApplicationSecret, DeviceFlowAuthenticator, InstalledFlowAuthenticator, InstalledFlowReturnMethod, ServiceAccountAuthenticator, ServiceAccountKey, AccessTokenAuthenticator, };