Skip to content

Keep package.metadata in new manifest #4142

Closed
@onur

Description

@onur

Docs.rs finally got support for building non-default features but looks like cargo is striping package.metadata.docs.rs section from manifest. Docs.rs is heavily using cargo and getting manifest path with cargo::core::package::Package::manifest_path on multiple occasions.

So it would be great to keep package.metadata in new manifest or maybe we can add a function like manifest_path_orig to Package.

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