mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-26 16:57:58 +00:00
98ed4afe45
Bumps [futures](https://github.com/rust-lang/futures-rs) from 0.3.19 to 0.3.21. - [Release notes](https://github.com/rust-lang/futures-rs/releases) - [Changelog](https://github.com/rust-lang/futures-rs/blob/master/CHANGELOG.md) - [Commits](https://github.com/rust-lang/futures-rs/compare/0.3.19...0.3.21) --- updated-dependencies: - dependency-name: futures dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Utilities Primitives for Substrate
Features
metered
This feature changes the behaviour of the function mpsc::tracing_unbounded.
With the disabled feature this function is an alias to futures::channel::mpsc::unbounded.
However, when the feature is enabled it creates wrapper types to UnboundedSender<T>
and UnboundedReceiver<T> to register every send/received/dropped action happened on
the channel.
Also this feature creates and registers a prometheus vector with name unbounded_channel_len and labels:
| Label | Description |
|---|---|
| entity | Name of channel passed to tracing_unbounded |
| action | One of send/received/dropped |
License: Apache-2.0