Skip to content

🔧 Non-deterministic hash for scan cache #81

Description

@ajianaz

Description

std::collections::hash_map::DefaultHasher in src/commands/scan.rs:181 is not deterministic across Rust compiler versions. Scan cache could be invalidated when the binary is recompiled.

Suggested Fix

Use sha2 (the performance difference is negligible for file hashing).

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions