-
-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
33 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,20 @@ | ||
// Here you should put all the backends based on sqlx library | ||
#[cfg(any( | ||
feature = "asynk-postgres", | ||
feature = "asynk-mysql", | ||
feature = "asynk-sqlite" | ||
))] | ||
pub mod backend_sqlx; | ||
|
||
pub mod async_queue; | ||
pub mod async_runnable; | ||
pub mod async_worker; | ||
pub mod async_worker_pool; | ||
pub mod backend_sqlx; | ||
|
||
pub use async_queue::*; | ||
pub use async_runnable::AsyncRunnable; | ||
pub use async_worker::*; | ||
pub use async_worker_pool::*; | ||
// Here you should put all the backends. | ||
#[cfg(any( | ||
feature = "asynk-postgres", | ||
feature = "asynk-mysql", | ||
feature = "asynk-sqlite" | ||
))] | ||
pub use {async_queue::*, async_runnable::AsyncRunnable, async_worker::*, async_worker_pool::*}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters