Skip to content
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.

Commit

Permalink
monitored oneshots
Browse files Browse the repository at this point in the history
  • Loading branch information
drahnr committed Sep 22, 2021
1 parent ffa8617 commit 5f2ad61
Show file tree
Hide file tree
Showing 5 changed files with 405 additions and 18 deletions.
41 changes: 35 additions & 6 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 7 additions & 0 deletions node/metered-channel/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,13 @@ description = "Channels with attached Meters"
futures = "0.3.17"
futures-timer = "3.0.2"
derive_more = "0.99"
tracing = "0.1.28"
thiserror = "1.0.29"
num_enum = "0.5.4"

[dev-dependencies]
futures = { version = "0.3.17", features = ["thread-pool"] }
assert_matches = "1.5"
env_logger = "0.9"
log = "0.4"
tracing = { version = "0.1.28", features = ["log"] }
1 change: 1 addition & 0 deletions node/metered-channel/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ use std::sync::{
use derive_more::{Add, Display};

mod bounded;
pub mod oneshot;
mod unbounded;

pub use self::{bounded::*, unbounded::*};
Expand Down
Loading

0 comments on commit 5f2ad61

Please sign in to comment.