Skip to content

[Rust] Frontmatter syntax support #4164

@epage

Description

@epage

What happened?

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.

Note: These are not stable. Stabilization is being tracked in:

e.g.

#!/usr/bin/env cargo

---
[dependencies]
regex = "1"
---

fn main() {
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions