uxar 0.1.5

Opinionated Rust web framework built on Axum for Postgres-backed JSON APIs
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16

pub(crate) mod tasks;
pub(crate) mod store;
pub(crate) mod indentity;
mod backends;

pub use tasks::*;
pub use store::AbstractTaskRunner;
pub use backends::pgstore::PgTaskStore;


#[cfg(feature = "postgres")]
pub type TaskStore = PgTaskStore;
pub type TaskRunner = AbstractTaskRunner<TaskStore>;
#[cfg(not(feature = "postgres"))]
compile_error!("Postgres feature must be enabled to use TaskRunner");