Skip to content

Stabilize cargo-script #119

@nikomatsakis

Description

@nikomatsakis
Metadata
Point of contact @epage
Team(s) cargo, compiler, lang, lang-docs
Goal document 2025h2/cargo-script

Summary

Stabilize support for "cargo script", the ability to have a single file that contains both Rust code and a Cargo.toml.

Tasks and status

Implement language feature frontmatter

  • Rust-analyzer implementation (@epage)
  • rustfmt implementation (@epage)
  • Standard reviews (compiler Team)
  • Author call for testing blog post (@epage)

Stabilize language feature frontmatter

  • Author Reference PR (@epage)
  • Review/revise Reference PR (lang-docs Team)
  • Author stabilization report (@epage)
  • Author stabilization PR (@epage)
  • Stabilization decision (lang Team)

Note: we have updated the body to match the 2025h2 goal. Your original text is preserved below.

Metadata
Owner(s) @epage
Team(s) cargo, lang
Goal document 2024h2/cargo-script
See also rust-lang/cargo#12207

Summary

Stablize support for "cargo script", the ability to have a single file that contains both Rust code and a Cargo.toml.

Tasks and status

See rust-lang/cargo#12207

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions