Skip to content

Add document section of [dependencies]Β #16088

@ya7010

Description

@ya7010

Hi πŸ‘‹

I am developing Tombi, a TOML Language Server.

Tombi features automatic sorting based on JSON Schema and rigorously auto-sorts Cargo.toml files.

There are several ways to specify the automatic sorting order in Tombi.
One method is to automatically sort based on the order of properties defined in the JSON Schema.
For elements like [package] and [workspace], the JSON Schema order is adjusted to follow the sequence defined in Cargo's documentation.

However, the current Cargo [dependencies] documentation does not have the element list.
If Cargo's documentation also lists the order for [dependencies], it would lend credibility to Tombi's automatic sorting sequence.

Cargo documentation isn't written with automatic sorting in mind, but I think it's a source that explains what the official appearance should be.

I'd like to submit a PR to update the documentation, but I want to know what the cargo maintainers think.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-documenting-cargo-itselfArea: Cargo's documentationS-blocked-externalStatus: ❌ blocked on something out of the direct control of the Cargo project, e.g., upstream fixS-needs-designStatus: Needs someone to work further on the design for the feature or fix. NOT YET accepted.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions