Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for installing crates from path #27

Open
sagudev opened this issue Aug 22, 2024 · 1 comment
Open

Add support for installing crates from path #27

sagudev opened this issue Aug 22, 2024 · 1 comment

Comments

@sagudev
Copy link

sagudev commented Aug 22, 2024

Currently, this is not possible, because action still tries to find crate in index.

@baptiste0928
Copy link
Owner

The action needs to generate a cache key that is invalidated whenever the crate changes, which in this will require computing some sort of hash of the crate's contents and its dependency tree. Since this will probably be a bit tricky to implement (and maintain in the future), I'm not sure it's worth adding.

Maybe try caching the /target directory instead? You can use something like Swatinem/rust-cache for this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants