If you want to add a rust library to your project, you use cargo add <package> If you want to add a compiled crate to your project, you use cargo install <package> you can also manually add them to Cargo.toml or whatever usefulrust