Crate vein_adapter

Crate vein_adapter 

Source

Structs§

AssetKey
CachedAsset
DelayPolicy
Policy configuration for delay calculation. This is a simplified version for the adapter crate - full config lives in main crate.
FileHandle
FilesystemStorage
GemDependency
GemMetadata
GemVersion
A gem version with quarantine tracking information.
IndexStats
PostgresCacheBackend
QuarantineInfo
Information about a quarantined version, used in HTTP headers.
QuarantineStats
Statistics about the quarantine system.
SbomCoverage
SqliteCacheBackend
TempFile

Enums§

AssetKind
CacheBackendKind
Enum dispatch for cache backends - zero-cost abstraction over SQLite/Postgres
DependencyKind
VersionStatus
Status of a gem version in the quarantine system.

Functions§

calculate_availability
Calculate when a version should become available based on policy.
is_version_available
Check if a version is currently available (visible in index).
is_version_downloadable
Check if a version should be served for direct download. Note: Even quarantined versions can be downloaded directly.