Speed up brute force building with Prey.lock hashing and caching.

This commit is contained in:
Cutieguwu
2026-02-16 20:41:31 -05:00
parent 1009a84c06
commit f0d22e6b79
8 changed files with 170 additions and 92 deletions

View File

@@ -4,6 +4,10 @@ pub type Result<T> = std::result::Result<T, Error>;
#[derive(Debug, From, Display)]
pub enum Error {
/// Attempted to replace a value in a hash collection,
/// but there was no prime present when one was expected.
AbsentPrimeHashingError,
#[from]
Io(std::io::Error),
@@ -12,6 +16,8 @@ pub enum Error {
MissingFileName,
MismatchedPackage,
#[from]
TomlDeserialize(toml::de::Error),