veloren/server-cli
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
..
src get rid of async_std::channel 2021-02-17 12:38:53 +01:00
.gitignore Added forts to towns, began better economy sim 2020-08-12 21:15:52 +01:00
Cargo.toml Initial switch to tokio for network, minimum working example. 2021-02-17 12:37:59 +01:00
docker-compose.yml Update CI and docker files to work with changes to data folder structure 2020-10-10 02:10:32 -04:00
Dockerfile Changed Dockerfile to use ENTRYPOINT to allow the veloren-server-cli process to receive signals sent by Watchtower 2020-11-30 16:46:36 +00:00