An update will be applied December 9th, between 12PM and 1:00PM EST (UTC -5:00). The site may be slow during that time.

Commit e18da5af authored by Ben Boeckel's avatar Ben Boeckel
Browse files

cargo: replace url with percent-encoding

Turns out we were just using the re-export of the `percent-encoding`
trait anyways. The `Url` type comes from `reqwest`.
parent efcb912d
......@@ -16,9 +16,9 @@ categories = ["web-programming", "api-bindings"]
hyper = { version = "~0.11.9", default-features = false }
itertools = "~0.7"
log = "~0.4"
percent-encoding = "^1.0"
reqwest = "~0.8"
serde_derive = "^1.0"
url = "^1.4"
chrono = { version = "~0.4", features = ["serde"] }
error-chain = ">= 0.9, < 0.11"
......
......@@ -7,13 +7,13 @@
// except according to those terms.
use crates::itertools::Itertools;
use crates::percent_encoding::{PATH_SEGMENT_ENCODE_SET, percent_encode};
use crates::reqwest::{Client, Method, RequestBuilder, Url};
use crates::serde::{Deserialize, Deserializer, Serializer};
use crates::serde::de::Error as SerdeError;
use crates::serde::de::{DeserializeOwned, Unexpected};
use crates::serde::ser::Serialize;
use crates::serde_json;
use crates::url::percent_encoding::{PATH_SEGMENT_ENCODE_SET, percent_encode};
use error::*;
use types::*;
......
......@@ -33,8 +33,8 @@ mod crates {
pub extern crate hyper;
pub extern crate itertools;
pub extern crate log;
pub extern crate percent_encoding;
pub extern crate reqwest;
pub extern crate url;
}
mod error;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment