[+] 增加 rust 镜像
All checks were successful
Build Docker Image / Explore-Gitea-Actions (push) Successful in 11s
All checks were successful
Build Docker Image / Explore-Gitea-Actions (push) Successful in 11s
This commit is contained in:
parent
f9481bebcb
commit
a8d8f5f210
13
README.md
13
README.md
@ -31,6 +31,19 @@ pip config set global.index-url https://mirrors.martin98.com/repository/pypi-gro
|
|||||||
npm config set registry https://mirrors.martin98.com/repository/npm-group/
|
npm config set registry https://mirrors.martin98.com/repository/npm-group/
|
||||||
```
|
```
|
||||||
|
|
||||||
|
#### Rust(cargo 版本 >=1.68)
|
||||||
|
linux:
|
||||||
|
~/.cargo/config
|
||||||
|
Windows:
|
||||||
|
%USERPROFILE%\.cargo\config
|
||||||
|
```toml
|
||||||
|
[source.crates-io]
|
||||||
|
replace-with = 'mirrors'
|
||||||
|
|
||||||
|
[source.mirrors]
|
||||||
|
registry = "sparse+https://mirrors.martin98.com/repository/rust/"
|
||||||
|
```
|
||||||
|
|
||||||
#### dockerfile
|
#### dockerfile
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
|
Loading…
x
Reference in New Issue
Block a user