Question about cargo


#1

Hello i’m a newbie trying to learn rust. i have done a scrapper, that is using some crates

I know that if some cargo change the subversion 0.1.x to 0.1.y when i do:

cargo --build it will take the new subversion to compile it.

There is some command to see if some crate have change to a superior versión to 0.1.x to 0.2.x

and i will try to change my code to use this new crate

Thanks in advance and sorry for my english.


#2

There’s cargo outdated which you can get by installing it through cargo: cargo install cargo-outdated


#3

I’ll add that running cargo build will not check if there are new versions of the dependencies. You need to run cargo update for that (or delete the Cargo.lock file).