@@ -787,14 +787,14 @@ the command line) target.
787
787
* Tracking Issue: [ #9096 ] ( https://github.com/rust-lang/cargo/pull/9096 )
788
788
* Original Pull Request: [ #9992 ] ( https://github.com/rust-lang/cargo/pull/9992 )
789
789
790
- Allow Cargo packages to depend on ` bin ` , ` cdylib ` , and ` staticlib ` crates,
790
+ Allow Cargo packages to depend on ` bin ` , ` cdylib ` , and ` staticlib ` crates,
791
791
and use the artifacts built by those crates at compile time.
792
792
793
793
Run ` cargo ` with ` -Z bindeps ` to enable this functionality.
794
794
795
795
** Example:** use _ cdylib_ artifact in build script
796
796
797
- The ` Cargo.toml ` in the consuming package, building the ` bar ` library as ` cdylib `
797
+ The ` Cargo.toml ` in the consuming package, building the ` bar ` library as ` cdylib `
798
798
for a specific build target…
799
799
800
800
``` toml
@@ -842,6 +842,13 @@ crates, which can save significant time and bandwidth.
842
842
843
843
The format of the sparse index is identical to a checkout of a git-based index.
844
844
845
+ The ` registries.crates-io.protocol ` config option can be used to set the default protocol
846
+ for crates.io. This option requires ` -Z sparse-registry ` to be enabled.
847
+
848
+ * ` sparse ` — Use sparse index.
849
+ * ` git ` — Use git index.
850
+ * If the option is unset, it will be sparse index if ` -Z sparse-registry ` is enabled, otherwise it will be git index.
851
+
845
852
### publish-timeout
846
853
* Tracking Issue: [ 11222] ( https://github.com/rust-lang/cargo/issues/11222 )
847
854
@@ -1376,7 +1383,7 @@ for more information.
1376
1383
### Workspace Inheritance
1377
1384
1378
1385
Workspace Inheritance has been stabilized in the 1.64 release.
1379
- See [ workspace.package] ( workspaces.md#the-package-table ) ,
1380
- [ workspace.dependencies] ( workspaces.md#the-dependencies-table ) ,
1386
+ See [ workspace.package] ( workspaces.md#the-package-table ) ,
1387
+ [ workspace.dependencies] ( workspaces.md#the-dependencies-table ) ,
1381
1388
and [ inheriting-a-dependency-from-a-workspace] ( specifying-dependencies.md#inheriting-a-dependency-from-a-workspace )
1382
1389
for more information.
0 commit comments