This commit is contained in:
Dominik Werder
2021-04-27 11:41:33 +02:00
parent bd9c231310
commit 0b40702b6c
12 changed files with 170 additions and 46 deletions

View File

@@ -15,3 +15,4 @@ bincode = "1.3.3"
async-channel = "1.6"
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"] }

View File

@@ -186,6 +186,12 @@ impl From<Box<bincode::ErrorKind>> for Error {
}
}
impl From<tokio_postgres::Error> for Error {
fn from(k: tokio_postgres::Error) -> Self {
Self::with_msg(k.to_string())
}
}
pub fn todoval<T>() -> T {
todo!("TODO todoval")
}