Speed up brute force building with Prey.lock hashing and caching.
This commit is contained in:
@@ -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),
|
||||
|
||||
|
||||
Reference in New Issue
Block a user