Import channel scan code into retrieval-rs

This commit is contained in:
Dominik Werder
2021-05-31 12:31:35 +02:00
parent 0ad59af010
commit fc81763737
14 changed files with 841 additions and 337 deletions

View File

@@ -17,3 +17,4 @@ chrono = { version = "0.4.19", features = ["serde"] }
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"

View File

@@ -231,6 +231,12 @@ impl From<std::fmt::Error> for Error {
}
}
impl From<regex::Error> for Error {
fn from(k: regex::Error) -> Self {
Self::with_msg(k.to_string())
}
}
pub fn todo() {
todo!("TODO");
}