Skip to content

Sources and registries documentation suggestions #6862

@fluffysquirrels

Description

@fluffysquirrels

CC: @ehuss as discussed on discord

These are suggestions only, happy to discuss.

Source replacement:

  • Define a "source" on this page, perhaps copying the definition from the glossary.
  • There are two blocks of toml near the top of this page that define the configuration for source replacement. Merge these.
  • "[P]rivate registry support is planned for a future version of Cargo.": the future is here! Link to the registries documentation.
  • Describe when sources are used: when cargo fetches source code for dependencies to build them. Are there other cases? List some of the commands that use sources.
  • Add links to cargo-local-registry and cargo-vendor on crates.io

Registries:

  • Links to cargo-local-registry EDIT: I don't think local registries are supported by e.g. cargo publish and cargo login, so this is not relevant.

I'm happy to submit a PR for these. I may have other suggestions as I start to write.

Hope that helps!

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions