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

Fix hashing of parsed Cargo.toml #160

Merged
merged 1 commit into from
Aug 12, 2023
Merged

Fix hashing of parsed Cargo.toml #160

merged 1 commit into from
Aug 12, 2023

Commits on Aug 10, 2023

  1. Fix hashing of parsed Cargo.toml

    The values for the dependencies could be strings intead of objects, so
    add a `try` block to take care of that.
    
    Also set `dep.path` to `""` if the dependency contains a key `path` to
    make sure that the cache isn't invalidated due to change in workspace.
    
    Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
    NobodyXu committed Aug 10, 2023
    Configuration menu
    Copy the full SHA
    09117ad View commit details
    Browse the repository at this point in the history