Skip to content

git-repository: feature flag usage #193

@FintanH

Description

@FintanH

Following the comment here[0], I was attempting to use git-repository for the one-stop-shop of import in link-git-protocol.

The first thing I noticed was that we were using fetch from the git-protocol crate, but this is only available if #[cfg(any(feature = "blocking-client", feature = "async-client"))]. git-repository doesn't use any of those feature flags, and I'm not sure how one might conditionally pass those down.

The second thing I noticed is that there are some feature flags mentioned, such as ["git-protocol"][1], however, none of them are listed in the features section[3].

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