update serde_qs so the error enum is compatible with Anyhow, fix deprecated warning

master
Ondřej Hruška 3 years ago
parent fcf3a1bc29
commit a139a39a2e
Signed by: MightyPork
GPG Key ID: 2C5FD5035250423D
  1. 2
      Cargo.toml
  2. 2
      src/registration.rs

@ -20,7 +20,7 @@ reqwest = { version = "0.10.8", default-features = false, features = ["json", "b
serde = { version = "1", features = ["derive"] } serde = { version = "1", features = ["derive"] }
serde_json = "1" serde_json = "1"
serde_urlencoded = "0.6.1" serde_urlencoded = "0.6.1"
serde_qs = "0.6.0" serde_qs = "0.8.4"
url = "2.1.1" url = "2.1.1"
tap-reader = "1" tap-reader = "1"
toml = { version = "0.5.0", optional = true } toml = { version = "0.5.0", optional = true }

@ -297,7 +297,7 @@ impl Registered {
.append_pair("response_type", "code") .append_pair("response_type", "code")
.append_pair("force_login", &self.force_login.to_string()); .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 /// Create an access token from the client id, client secret, and code

Loading…
Cancel
Save