Alice Ryhl

Results 336 comments of Alice Ryhl

As explained by the error message, the `macros` feature is not the problem. If you are enabling `rt-multi-thread`, then that will not work.

Not sure if there are any blockers, but that PR is marked as a draft, so I haven't reviewed it.

The implementation seems ok at a cursory glance. To me the main question is whether we want this or not, and if so, how should the public API of it...

The correct trait here is `FileSizeWrite: Display` as opposed to `Write`.

In a previous experiment of mine where I created a simple web server on top of hyper, I studied this issue quite a bit. The problem is that if someone...

This is probably not the best way to go around that. Using Tokio in a game can be a decent way to handle network connections, but it should probably go...

There's no need to switch executor just to use [`LocalExecutor`][2] as a replacement for `LocalSet`. You can do that through the [`async-executor`][1] crate, and its `tick` method can be given...

Regardless of this feature request, it does seem unfortunate that `spawn_blocking` tasks don't prevent the timer from advancing.

If someone wants to write a PR, then I am ok with adding this.

We generally want to avoid adding new dependencies if we can at all avoid it.