Cargo will let you vendor code into your repo easily.
I think you’re conflating the tool, with how people manage deps.
https://doc.rust-lang.org/cargo/commands/cargo-vendor.html