Skip to content

Renaming dependencies in Cargo.toml #5653

@matklad

Description

@matklad

Implementation PR: #4953

Summary:

With cargo-features = ["rename-dependency"] in Cargo.toml, you will be able to specify dependencies as bar = { package = "foo", version = "0.1" }. That adds dependency to foo package from crates.io, which will be visible as extern crate bar.

Steps:

Stabilization TODO:

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-tracking-issueCategory: A tracking issue for something unstable.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions