Skip to content

Use a file whitelist when creating a package (vs. blacklist) #880

@carllerche

Description

@carllerche

Personally, I will always have junk in my repo that I will forget to delete before packaging. I would prefer a whitelist strategy over blacklist. It could default to using the result of git ls-files (or the default cargo structure if git is not used).

As a somewhat supporting factor, I almost pushed out my target directory as part of the build. My .gitignore directory has /target/ and I was in a nested 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