vein-adapter 0.3.0

Shared storage adapters for Vein services
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
mod cache;
mod storage;

pub use cache::{
    AssetKey, AssetKind, CacheBackendKind, CachedAsset, DependencyKind, GemDependency,
    GemMetadata, IndexStats, SbomCoverage, SqliteCacheBackend,
};
#[cfg(feature = "postgres")]
pub use cache::PostgresCacheBackend;
pub use storage::{FileHandle, FilesystemStorage, TempFile};

// Quarantine types
pub use cache::{
    calculate_availability, is_version_available, is_version_downloadable, DelayPolicy,
    GemVersion, QuarantineInfo, QuarantineStats, VersionStatus,
};