nashley
nashley
In case it's helpful, here's roughly the steps I took to validate the generated source via github actions: `Cargo.toml`: ```toml [features] default = [] # generate gRPC code from `.proto`(s)...
@LucioFranco by minimal reproduction, do you mean of `hyper` code or of `tonic` code? ~This behavior (of tasks leaking) is present even in the [`helloworld-server` example](https://github.com/hyperium/tonic/blob/master/examples/src/helloworld/server.rs).~ Here's a screenshot from...
Actually, I think I just forgot how to read `tokio-console` and ignored the fact that the tasks are no longer running (they are visibly removed with `tokio-console --retain-for 1us`). My...
Not sure if this applies to OP, but I think my issue at least was actually due to expected behavior within `console-subscriber` itself (i.e., keeping relevant information around for an...
Thanks for the info! I guess I'll look into setting up a development environment with [WINE](https://www.winehq.org/about) or [ReactOS](https://reactos.org/) or something.
Does [this PR](https://github.com/RReverser/serde-xml-rs/pull/173) fix it for you? As of writing, it has not been released, so you'd need to specify the dependency via `git`: ```toml [dependencies] serde-xml-rs = { git...
As pointed out in [this comment](https://github.com/rust-lang/rust/issues/82766#issuecomment-1164183611), `or_insert()` (e.g., `map.entry("key").or_insert(tokio_stream::pending::())`) could be used if the desired behavior is to preserve existing keys. However, `StreamMap` doesn't (yet) have `Entry` as a concept,...
PR that introduced this: https://github.com/tokio-rs/tokio/pull/4272
For reference, here's an example showing that `from_iter` removes duplicate keys: ```rust use tokio_stream; fn main() { let streams_from_iter = tokio_stream::StreamMap::from_iter(vec![ ("key", tokio_stream::pending::()), ("key", tokio_stream::pending::()) ]); for (key, value) in...
If this is indeed undesired behavior, then I think the simplest solution is to just iterate over the `Vec` and call `insert` on each entry. I can make a PR...