aboutsummaryrefslogtreecommitdiff
path: root/src/lib.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib.rs')
-rw-r--r--src/lib.rs19
1 files changed, 2 insertions, 17 deletions
diff --git a/src/lib.rs b/src/lib.rs
index a02eb20..e7a8ebe 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -1,6 +1,6 @@
#![feature(cursor_remaining)]
#![feature(hash_drain_filter)]
-#![feature(once_cell)]
+
mod client;
mod common;
mod error;
@@ -11,21 +11,6 @@ mod share;
pub use client::*;
pub use common::*;
pub use error::*;
-use recv::*;
+pub use recv::*;
pub use send::*;
pub use share::*;
-pub use ticker_mod::*;
-
-mod ticker_mod {
- #[macro_export]
- macro_rules! ticker {
- ($duration:expr, $close:expr, $body:block) => {
- let mut interval = tokio::time::interval($duration);
-
- while tokio::select!{
- _ = interval.tick() => true,
- _ = $close.changed() => false,
- } $body
- };
- }
-}