backie/src/lib.rs
2021-06-06 11:44:46 +03:00

27 lines
405 B
Rust

#[macro_use]
extern crate diesel;
// pub trait JobQueue {
// type Job;
// type Error;
// fn push(job: Self::Job) -> Result<(), Self::Error> {
// }
// fn pop(job: Self::Job) -> Result<(), Self::Error>;
// }
// pub trait Storage {
// fn save() ->
// }
pub mod postgres;
mod schema;
#[cfg(test)]
mod tests {
#[test]
fn it_works() {
assert_eq!(2 + 2, 4);
}
}