Understanding Rust crates
In Rust, packages (both binaries and libraries) are named crates. You can find a lot of them on crates.io
. Today, we'll use the SDL2 crate in order to make our tetris, but before even thinking about this, we need to install the SDL2
library that is used by the SDL2
crate!