Installing external libraries, components in Rust projects are pretty easy, but not as intuitive as one might expect - you have to do it manually like Perl’s
The build tool
cargo does not handle this, but you have to specify the requirement manually in the projects
This example is lifted from a small project I was working on when trying to learn about futures
[package] name = "hello_futures" version = "0.1.0" authors = ["jonasbn <firstname.lastname@example.org>"] edition = "2018" [dependencies] futures = ""
[dependencies] you simply specify the dependency. Do note that I am only scraping the surface, do the References below for more details.