02.国内Cargo源
<h1>02.国内Cargo源</h1>
<h2>1、字节跳动cargo镜像源</h2>
<pre><code>[source.crates-io]
replace-with = 'rsproxy-sparse'
[source.rsproxy]
registry = &quot;https://rsproxy.cn/crates.io-index&quot;
# 稀疏索引,要求 cargo &gt;= 1.68
[source.rsproxy-sparse]
registry = &quot;sparse+https://rsproxy.cn/index/&quot;
[registries.rsproxy]
index = &quot;https://rsproxy.cn/crates.io-index&quot;
[net]
git-fetch-with-cli = true</code></pre>