Skip to content

Support Cargo dependency package attribute #146

Description

@sin-ack

Ran into this while dealing with #145. Cargo allows renaming crates so that the package name is different from what's exposed to code: https://doc.rust-lang.org/cargo/reference/specifying-dependencies.html#renaming-dependencies-in-cargotoml

This should be supported because some packages in the wild actually need this, such as tracing-serde when --cfg tracing_unstable is enabled: https://docs.rs/tracing/latest/tracing/field/fn.valuable.html

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions