veloren/voxygen
Marcel Märtens 5aa1940ef8 get rid of async_std::channel
switch to `tokio` and `async_channel` crate.
I wanted to do tokio first, but it doesnt feature Sender::close(), thus i included async_channel
Got rid of `futures` and only need `futures_core` and `futures_util`.

Tokio does not support `Stream` and `StreamExt` so for now i need to use `tokio-stream`, i think this will go in `std` in the future

Created `b2b_close_stream_opened_sender_r` as the shutdown procedure does not need a copy of a Sender, it just need to stop it.

Various adjustments, e.g. for `select!` which now requieres a `&mut` for oneshots.

Future things to do:
 - Use some better signalling than oneshot<()> in some cases.
 - Use a Watch for the Prio propergation (impl. it ofc)
 - Use Bounded Channels in order to improve performance
 - adjust tests coding

bring tests to work
2021-02-17 12:38:53 +01:00
..
anim Clean and update dependencies 2021-02-17 01:27:06 -08:00
benches Clean and update dependencies 2021-02-17 01:27:06 -08:00
examples (See sharp/lod-history) LOD, shadows, greedy meshing, new lighting, perf 2020-08-20 20:34:59 +02:00
src get rid of async_std::channel 2021-02-17 12:38:53 +01:00
build.rs feat(voxygen): add logo for windows executable 2019-10-02 16:57:08 +02:00
Cargo.toml Initial switch to tokio for network, minimum working example. 2021-02-17 12:37:59 +01:00
clippy.toml (See sharp/lod-history) LOD, shadows, greedy meshing, new lighting, perf 2020-08-20 20:34:59 +02:00