Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add doc for unstable config registries.crates-io.protocol #11343

Closed
weihanglo opened this issue Nov 6, 2022 · 1 comment · Fixed by #11350
Closed

Add doc for unstable config registries.crates-io.protocol #11343

weihanglo opened this issue Nov 6, 2022 · 1 comment · Fixed by #11350
Assignees
Labels
A-documenting-cargo-itself Area: Cargo's documentation A-sparse-registry Area: http sparse registries C-feature-request Category: proposal for a feature. Before PR, ping rust-lang/cargo if this is not `Feature accepted` E-easy Experience: Easy

Comments

@weihanglo
Copy link
Member

weihanglo commented Nov 6, 2022

Problem

With #11215, you can control the protocol crates.io uses by setting registries.crates-io.protocol with either sparse or git or unspecified. The doc are currently missing.

Proposed Solution

Documenting the new behaviour in https://github.com/rust-lang/cargo/blob/master/src/doc/src/reference/unstable.md#sparse-registry. Please take the implementation of #11215 as a reference.

Notes

No response

@weihanglo weihanglo added C-feature-request Category: proposal for a feature. Before PR, ping rust-lang/cargo if this is not `Feature accepted` A-documenting-cargo-itself Area: Cargo's documentation A-sparse-registry Area: http sparse registries E-easy Experience: Easy E-help-wanted labels Nov 6, 2022
@Rustin170506
Copy link
Member

@rustbot claim

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-documenting-cargo-itself Area: Cargo's documentation A-sparse-registry Area: http sparse registries C-feature-request Category: proposal for a feature. Before PR, ping rust-lang/cargo if this is not `Feature accepted` E-easy Experience: Easy
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants