From a139a39a2e31baf79dc7fd94f1237b661b35e3d8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ond=C5=99ej=20Hru=C5=A1ka?= Date: Fri, 20 Aug 2021 20:32:50 +0200 Subject: [PATCH] update serde_qs so the error enum is compatible with Anyhow, fix deprecated warning --- Cargo.toml | 2 +- src/registration.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 48bfacd..1bf6903 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -20,7 +20,7 @@ reqwest = { version = "0.10.8", default-features = false, features = ["json", "b serde = { version = "1", features = ["derive"] } serde_json = "1" serde_urlencoded = "0.6.1" -serde_qs = "0.6.0" +serde_qs = "0.8.4" url = "2.1.1" tap-reader = "1" toml = { version = "0.5.0", optional = true } diff --git a/src/registration.rs b/src/registration.rs index 22228ad..1acd1e8 100644 --- a/src/registration.rs +++ b/src/registration.rs @@ -297,7 +297,7 @@ impl Registered { .append_pair("response_type", "code") .append_pair("force_login", &self.force_login.to_string()); - Ok(url.into_string()) + Ok(url.into()) } /// Create an access token from the client id, client secret, and code