mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-26 01:47:55 +00:00
be8e626806
We currently use a bit of a hack in `.cargo/config` to make sure that clippy isn't too annoying by specifying the list of lints. There is now a stable way to define lints for a workspace. The only down side is that every crate seems to have to opt into this so there's a *few* files modified in this PR. Dependencies: - [x] PR that upgrades CI to use rust 1.74 is merged. --------- Co-authored-by: joe petrowski <25483142+joepetrowski@users.noreply.github.com> Co-authored-by: Branislav Kontur <bkontur@gmail.com> Co-authored-by: Liam Aharon <liam.aharon@hotmail.com>
Utilities Primitives for Substrate
This crate provides mpsc::tracing_unbounded function that returns wrapper types to
async_channel::Sender<T> and async_channel::Receiver<T>, which register every
send/received/dropped action happened on the channel.
Also this wrapper 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