diff options
author | hozan23 <hozan23@proton.me> | 2024-03-20 15:20:21 +0100 |
---|---|---|
committer | hozan23 <hozan23@proton.me> | 2024-03-20 15:20:21 +0100 |
commit | 379dca552ca91d22ee007b42f93803ad3dc2b274 (patch) | |
tree | 1ba10573b6ec5213baf46f6ab9c3767e0daa4eed /core/src/lib.rs | |
parent | 340957fec147f4429796413f27bbd9b84ba6f141 (diff) |
core: add the option to create a new task group without providing an
executor & remove GlobalExecutor type
Diffstat (limited to 'core/src/lib.rs')
-rw-r--r-- | core/src/lib.rs | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/core/src/lib.rs b/core/src/lib.rs index 442b642..ae88188 100644 --- a/core/src/lib.rs +++ b/core/src/lib.rs @@ -18,13 +18,4 @@ pub mod pubsub; /// Collects common cryptographic tools pub mod crypto; -use smol::Executor as SmolEx; -use std::sync::Arc; - -/// A pointer to an Executor -pub type Executor<'a> = Arc<SmolEx<'a>>; - -/// A Global Executor -pub type GlobalExecutor = Arc<SmolEx<'static>>; - use error::Result; |