#![allow(non_upper_case_globals)] #[cfg(not(target_arch = "wasm32"))] #[path = "."] pub mod exports { pub mod api; pub mod builder; pub mod cache; pub mod config; pub mod datatypes; pub mod errors; pub mod executor; pub mod logging; pub mod messaging; pub mod models; pub mod utils; } #[cfg(target_arch = "wasm32")] #[path = "."] pub mod exports { pub mod config; pub mod errors; pub mod messaging; pub mod models; pub mod utils; } pub use errors::{UError, UResult}; pub use exports::*; pub mod schema_exports { pub use crate::models::{Agentstate, Jobstate, Jobtype}; pub use diesel::sql_types::*; } #[macro_use] extern crate diesel; #[macro_use] extern crate log; #[cfg(test)] #[macro_use] extern crate rstest;