Max Inden
Max Inden
> Instead of an enum, `&mut dyn Encoder` might work too? In that case none of the methods on `Encoder` are allowed to have generic type parameters. Though we want...
https://github.com/prometheus/client_rust/pull/105/ implements the above suggested `serde` style encoding using two traits, `EncodeMetric` (see serde's `Serialize`) and `MetricEncoder` (see serde's `Serializer`). This addresses the issue raised by @nox, namely the conflict...
@marten-seemann or @MarcoPolo do you have capacity to give this another review? If not, I will take a deeper look myself, though I think your review is way more valuable...
This is surprising to me. - The panic happens because `Pool` assumes to still track the given connection. - `Pool` only removes a connection when the corresponding task signaled that...
Related: Which transport returned the `AddressChange`? If I am not mistaken none of the transports in rust-libp2p ever return an `AddressChange`.
Am I correctly assuming that this issue has never occurred since the initial report?
I am curious as I am not aware of a `Transport` implementation that ever emits the `AddressChange` `enum` variant.
Hi there, rust-libp2p maintainer here. The story on storing and loading key material is not ideal in rust-libp2p quite yet. In case you want to load the keymaterial generated from...
Great @fabricio7p. For decoding you would basically just copy the logic here and wrap it in a CLI tool which takes the config path as an input. https://github.com/mxinden/rust-libp2p-server/blob/7b8dcca6af6c8538785b2ba65b3c3169aa04204f/src/main.rs#L54-L76 Want to...
For the record @demfabris has implemented a `keygen` tool, see https://github.com/libp2p/rust-libp2p/pull/2453.