Cargo Config
Additional configs for cargo to solve access issue to creates.io.
Change registry to China specific mirror and use the git
executable to fetch registry contents instead of built-in git
library.
First, create a config file under ~/.cargo
folder. In Windows, that’s C:\Users\<username>\.cargo\config
file. Then add following content to the config file:
|
|
Reference: Cargo configuration documentation