abe324fc57
* fetch task async and renaming every Job/job to Task/task * fixing cargo clippy * Task instead Job in readme * change one task because if not test will fail, redefined all tasks structs * derive feature * deleting schema * changing query * task builder * fix bug enum fang task state * fetch_test based on metadata, good improve testing fetch_task * deleting toSql FromSql derives that are useless for Task * builders and fail_task change
30 lines
526 B
Rust
30 lines
526 B
Rust
// #![allow(clippy::nonstandard_macro_braces)]
|
|
#![allow(clippy::extra_unused_lifetimes)]
|
|
|
|
// pub mod error;
|
|
// pub mod executor;
|
|
// pub mod queue;
|
|
// pub mod scheduler;
|
|
// pub mod schema;
|
|
// pub mod worker_pool;
|
|
|
|
// pub use error::FangError;
|
|
// pub use executor::*;
|
|
// pub use queue::*;
|
|
// pub use scheduler::*;
|
|
// pub use schema::*;
|
|
// pub use worker_pool::*;
|
|
|
|
#[macro_use]
|
|
extern crate diesel;
|
|
|
|
#[doc(hidden)]
|
|
pub use diesel::pg::PgConnection;
|
|
#[doc(hidden)]
|
|
pub use typetag;
|
|
|
|
pub mod sync;
|
|
pub use sync::*;
|
|
|
|
pub mod asynk;
|