Skip to content

Tracking issue for Deduplicate Cargo workspace information RFC #8415

@Mark-Simulacrum

Description

@Mark-Simulacrum

This is a tracking issue for the RFC: Deduplicate Cargo workspace information (rust-lang/rfcs#2906).

Documentation:

Steps:

Changes from RFC

  • Not locking workspace dependencies, see alexchrichton's comment
  • Not inserting a version into path dependencies when publishing, see epage's comment
  • Changed the table package fields inherit from, from workspace to workspace.package, see epage's comment
  • Fields
    • Explicitly not supporting resolver, see epage's comment
    • Supporting edition which the RFC showed inconsistent status for
    • Supporting rust-version which is newer than the RFC
    • Supporting include and exclude which the RFC couldn't, see epage's comment

Unresolved questions:

  • Do we stablize inheriting from workspace.package and workspace.dependencies or do we switch which tables we use? see epage's comment
  • Preferred documentation style: RFC uses field = { workspace = true } but TOML allows field.workspace = true
  • Is the performance good enough?

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