Skip to content

Use new Cargo workspace features #1367

@chriskrycho

Description

@chriskrycho

Rust 1.64 introduced a really nice Cargo feature: workspace inheritance:

When working with collections of related libraries or binary crates in one Cargo workspace, you can now avoid duplication of common field values between crates, such as common version numbers, repository URLs, or rust-version. This also helps keep these values in sync between crates when updating them. For more details, see workspace.package, workspace.dependencies, and "inheriting a dependency from a workspace".

Adopting this would simplify our package maintenance quite a bit!

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