summaryrefslogtreecommitdiffstats
path: root/src/errors.rs
diff options
context:
space:
mode:
authorleo60228 <leo@60228.dev>2020-05-28 09:54:19 -0400
committerPaul Woolcock <paul@woolcock.us>2020-06-08 14:46:16 -0400
commit7e67e10bc473311602e5d9704c7ceaa96bdb2581 (patch)
tree21a5a952768480aa302ffc01ecf1eb45005ce049 /src/errors.rs
parent791bc83387bbac4fb6ff46f4cf1153e37837b626 (diff)
Remove url 2.x
I thought tungstenite needed it, but it doesn't.
Diffstat (limited to 'src/errors.rs')
-rw-r--r--src/errors.rs5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/errors.rs b/src/errors.rs
index 65e5fcc..f4d62b4 100644
--- a/src/errors.rs
+++ b/src/errors.rs
@@ -12,7 +12,6 @@ use tomlcrate::de::Error as TomlDeError;
#[cfg(feature = "toml")]
use tomlcrate::ser::Error as TomlSerError;
use url::ParseError as UrlError;
-use url1x::ParseError as ReqwestUrlError;
use tungstenite::error::Error as WebSocketError;
/// Convience type over `std::result::Result` with `Error` as the error type.
@@ -35,8 +34,6 @@ pub enum Error {
Io(IoError),
/// Wrapper around the `url::ParseError` struct.
Url(UrlError),
- /// Wrapper around the `url::ParseError` struct.
- ReqwestUrl(ReqwestUrlError),
/// Missing Client Id.
ClientIdRequired,
/// Missing Client Secret.
@@ -85,7 +82,6 @@ impl error::Error for Error {
Error::Http(ref e) => e,
Error::Io(ref e) => e,
Error::Url(ref e) => e,
- Error::ReqwestUrl(ref e) => e,
#[cfg(feature = "toml")]
Error::TomlSer(ref e) => e,
#[cfg(feature = "toml")]
@@ -146,7 +142,6 @@ from! {
SerdeError, Serde,
UrlEncodedError, UrlEncoded,
UrlError, Url,
- ReqwestUrlError, ReqwestUrl,
ApiError, Api,
#[cfg(feature = "toml")] TomlSerError, TomlSer,
#[cfg(feature = "toml")] TomlDeError, TomlDe,