WIP on proxy and url handling
This commit is contained in:
@@ -18,3 +18,4 @@ nom = "6.1.2"
|
||||
tokio-postgres = { version = "0.7", features = ["runtime", "with-chrono-0_4", "with-serde_json-1"] }
|
||||
serde_cbor = "0.11.1"
|
||||
regex = "1.5.4"
|
||||
url = "2.2"
|
||||
|
||||
@@ -254,6 +254,12 @@ impl From<Elapsed> for Error {
|
||||
}
|
||||
}
|
||||
|
||||
impl From<url::ParseError> for Error {
|
||||
fn from(k: url::ParseError) -> Self {
|
||||
Self::with_msg(format!("{:?}", k))
|
||||
}
|
||||
}
|
||||
|
||||
pub fn todo() {
|
||||
todo!("TODO");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user