mithril_common/digesters/cache/
mod.rs

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
//! Cache provider to accelerate [super::CardanoImmutableDigester] computation by storing and
//! reusing [super::ImmutableFile] digests.

mod json_provider;
mod json_provider_builder;
mod memory_provider;
mod provider;

pub use json_provider::JsonImmutableFileDigestCacheProvider;
pub use json_provider_builder::JsonImmutableFileDigestCacheProviderBuilder;
pub use memory_provider::MemoryImmutableFileDigestCacheProvider;
#[cfg(test)]
pub use provider::MockImmutableFileDigestCacheProvider;
pub use provider::{
    CacheProviderResult, ImmutableDigesterCacheGetError, ImmutableDigesterCacheProviderError,
    ImmutableDigesterCacheStoreError, ImmutableFileDigestCacheProvider,
};