Skip to content

Exclude certain dependencies #81

@lf-

Description

@lf-

I want to deploy reindeer in vendoring mode, but it seems that this causes 200MB of binaries to get checked into version control due to the winapi crate which I don't want in my dependency tree to begin with (we don't support Windows and probably never will). This is in turn because of a dependency on it by nu-ansi-term which lands a winapi dependency in the lock file.

I am not sure what is the correct thing to do about this; I realize that it's kind of a cargo vendor problem which I don't know how to get around, besides perhaps by making stub crates, but I'm raising this as something that can be a blocker to deploying reindeer in practice.

I'm currently playing around patch.crates-io and a fake stub crate.

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