Skip to content

Git dependency with LFS objects #9692

Open
@fstephany

Description

Describe the problem you are trying to solve

I'm trying to add a (non public) crate as a git dependency. The linked git repository stores binary files with git LFS. Those binary files are then included in the code with the relevant macros (include_str/include_bytes).

Right now, the lfs objects are not retrieved.

Describe the solution you'd like
I would be great to have the possibility to specify something along the line: some-crate = { git = "<git repo>, use-lfs=true } when declaring a dependency.

Metadata

Assignees

No one assigned

    Labels

    A-gitArea: anything dealing with gitC-feature-requestCategory: proposal for a feature. Before PR, ping rust-lang/cargo if this is not `Feature accepted`S-triageStatus: This issue is waiting on initial triage.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions