We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b73eff6 commit 02e0062Copy full SHA for 02e0062
docs/crates.io-index.md
@@ -18,6 +18,9 @@ replace-with = 'ustc'
18
19
[source.ustc]
20
registry = "sparse+https://mirrors.ustc.edu.cn/crates.io-index/"
21
+
22
+[registries.ustc]
23
+index = "sparse+https://mirrors.ustc.edu.cn/crates.io-index/"
24
```
25
26
!!! note
@@ -35,6 +38,9 @@ replace-with = 'ustc'
35
38
36
39
37
40
41
42
43
44
EOF
45
46
@@ -59,7 +65,12 @@ EOF
59
65
60
66
!!! warning
61
67
62
- `cargo search` 无法使用镜像。
68
+ `cargo search` 与 `cargo info` 命令需要添加 `--registry ustc` 参数,例如:
69
70
+ ```console
71
+ cargo search --registry ustc reqwest
72
+ cargo info --registry ustc reqwest
73
+ ```
63
74
64
75
76
0 commit comments