diff options
| author | Fuwn <[email protected]> | 2023-04-18 21:29:47 +0000 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2023-04-18 21:29:47 +0000 |
| commit | 49cd06600431bc314e9c1cebfc73ecfbe5d9f894 (patch) | |
| tree | 214acfd8abe32069f6af5001f54bf8c6fa4dab24 /src/lib.rs | |
| parent | feat: improve macro hygiene (diff) | |
| download | windmark-49cd06600431bc314e9c1cebfc73ecfbe5d9f894.tar.xz windmark-49cd06600431bc314e9c1cebfc73ecfbe5d9f894.zip | |
feat: async-std support !!
Diffstat (limited to 'src/lib.rs')
| -rw-r--r-- | src/lib.rs | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -40,7 +40,10 @@ pub mod utilities; #[macro_use] extern crate log; +#[cfg(feature = "async-std")] +pub use async_std::main; pub use module::{AsyncModule, Module}; pub use response::Response; pub use router::Router; +#[cfg(feature = "tokio")] pub use tokio::main; |