Crates => Cargo fetch, Cargo update, Cargo build

Hello, after eclipse and vscode didnt fit my needs for autocompletion, I decided to create my own IDE. Which cargo commands that download all source files of core rust packages and crates registered in cargo.toml, I tested these 3 commands cargo build (downloads crates and store them in {user}/.cargo/registry and compile them), cargo fetch (do the same but it is very very slow like 10 min and I dont know what it does after), cargo update (did nothing). I need some commands that downloads all source files for the current cargo project to create codes tree. Thank you

I believe you're looking for cargo fetch. I don't know why it is taking 10 minutes for you, that's unusual.

1 Like

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.