metered mpsc channels (#2235)

This commit is contained in:
Bernhard Schuster
2021-01-13 17:40:27 +01:00
committed by GitHub
parent c644c39f3d
commit d7adf8f201
11 changed files with 744 additions and 56 deletions
+14
View File
@@ -0,0 +1,14 @@
[package]
name = "metered-channel"
version = "0.1.0"
authors = ["Parity Technologies <admin@parity.io>"]
edition = "2018"
description = "Channels with attached Meters"
[dependencies]
futures = "0.3.8"
futures-timer = "3.0.2"
[dev-dependencies]
assert_matches = "1.4.0"
futures = { version = "0.3.8", features = ["thread-pool"] }