Skip to content

Support Rust's frontmatter syntax #50

Open
@epage

Description

@epage

Problem

RFC #3503 adds support for a new frontmatter syntax. The contained content format is defined by the calling tool with a tool identifier.

In RFC #3502, the cargo infostring identifier would be used to signify the block uses the Cargo.toml format/schema. Cargo will assume that an empty infostring is meant to be used with it.

Expected behavior

Support parsing Rust files with frontmatter syntax. Optionally detect and support TOML syntax inside of the frontmatter if the infostring is cargo or if there is no infostring

Note: These are not stable and I'm not expecting this be implemented before then but opened this now as a heads up to prep for when it is. Stabilization is being tracked in:

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions