We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 221f4da commit c5b9e04Copy full SHA for c5b9e04
src/recipe/lang/rawstr4c.md
@@ -75,34 +75,11 @@ allprojects {
75
76
```toml
77
[source.crates-io]
78
-replace-with = 'mirror'
+replace-with = "mirror"
79
80
[source.mirror]
81
registry = "sparse+@url@"
82
-```
83
-
84
-### cargo check config
85
86
-- name = `cargo_check_config`
87
88
-```bash
89
-grep -q '^\[source\.crates-io\]' @f@
90
91
92
-### cargo update replace-with
93
94
-- name = `cargo_update_replace_with`
95
96
97
-@sed@ '/^\[source\.crates-io\]$/,/^\[/{s/^replace-with = .*/replace-with = "mirror"/}' @f@
98
99
100
-### cargo update registry
101
102
-- name = `cargo_update_registry`
103
104
105
-@sed@ '/^\[source\.mirror\]$/,/^\[/{s|^registry = .*|registry = "sparse+@url@"|}' @f@
106
```
107
108
<br>
0 commit comments