backie/src/lib.rs
Ayrat Badykov 45eb336b8a
Periodic tasks (#5)
* Periodic tasks

* schedule next execution

* add scheduler

* ignore test

* fix clippy

* make start public

* check if the period task already exists

* do not insert task if it's already in the queue

* fix tests
2021-07-18 22:09:30 +03:00

24 lines
357 B
Rust

#![allow(clippy::nonstandard_macro_braces)]
#[macro_use]
extern crate diesel;
#[macro_use]
extern crate log;
mod schema;
pub mod executor;
pub mod postgres;
pub mod scheduler;
pub mod worker_pool;
pub use executor::*;
pub use postgres::*;
pub use worker_pool::*;
#[doc(hidden)]
pub use serde::{Deserialize, Serialize};
#[doc(hidden)]
pub use typetag;