3 ms·
If you still have issues with it, Cargo (Rust's package manager) has the option to use alternative package repositories, so you can host your own repository of
by beatgammit 7y ago
If you still have issues with it, Cargo (Rust's package manager) has the option to use alternative package repositories, so you can host your own repository of packages[1] if you so choose. I haven't looked too far into it, so I don't know how painless it is to replace the default one or set up a mirror for packages you trust, but someone on Reddit claims to do just that at their company [2].
I wish Rust made it easier to know who the author of a package is (i.e. namespace packages so it's clear in the Cargo.toml), but I do think they've done a better job at designing crates.io than some other package repositories (i.e. npm).
[1] https://boats.gitlab.io/blog/post/2017-10-28-alternative-registries/ https://boats.gitlab.io/blog/post/2017-10-28-alternative-reg...
[2] https://www.reddit.com/r/rust/comments/9gl8p3/host_local_repo_than_cratesio/ https://www.reddit.com/r/rust/comments/9gl8p3/host_local_rep...