Open oovm opened 2 years ago
It seems this is an error from libgit2, which is used by git2-rs.
I wonder if cargo-edit could use an option "git-fetch-with-cli=true" like cargo to fix it.
I tried using git-cli to update registry index, it indeed fixed the issue: https://github.com/cg31/cargo-edit/commit/42e025e066dbbda820d800500c359d2218e1abbe
Still exists in latest version.
I use update + offline hack now.
cargo update && cargo upgrade --offline
Failed to run
upgrade
after install cargo-edit under socks5.