Download Rust Boxes Using a Web Browser

Is there a way to download Rust dependencies using a web browser? Currently, I have Internet access through my web browser, but not through the command line (Windows).

I know that I can set up a local file server and set up Cargo to use a mirror , but that doesn’t help if I can. Take the boxes first.

Edit:

See the corresponding Github question , now closed.

+3
rust rust-cargo
source share
1 answer

You can use the following address:

https://crates.io/api/v1/crates/name/version/download

To download boxes directly from crates.io , simply change the name and version to load a specific version of the box.

The downloaded file has the extension .crate, but actually it is tarball (.tar.gz).

+2
source share

All Articles