- threadpool: Using a channel between threads
- teris: Tetris game
- file-handling: Read & write slices to disc
- sdl-window: Open window with SDL, enable OpenGL
- redisload: Redis client
- udp-server: UDP server using Tokio (async)
- brew install sdl2
- brew install SDL2_image
export LIBRARY_PATH=/home/linuxbrew/.linuxbrew/lib
export LD_LIBRARY_PATH=/home/linuxbrew/.linuxbrew/lib
Use nightly due to current status of async
cargo +nightly run
# Get latest
rustup update
# Add new binary
cargo new <name>
# Add new lib
cargo new --lib <name>
git clone https://github.com/rust-analyzer/rust-analyzer.git && cd rust-analyzer
cargo xtask install --server