mod artifact;
mod check;
mod config;
mod credential;
mod credential_config;
mod error;
mod fetch;
mod manifest;
mod mirror;
#[cfg(feature = "mirror-s3")]
mod s3;
#[cfg(feature = "server")]
pub mod server;
mod store;
pub use artifact::{Artifact, ArtifactKey, Freshness, Provenance, Source};
pub use check::{CheckFailure, ContentCheck};
pub use config::{DatastoreConfig, ServiceCachePolicy, ServiceConfig};
#[cfg(feature = "onepassword")]
pub use credential::OnePasswordProvider;
pub use credential::{
ChainProvider, Credential, CredentialProvider, EnvProvider, NetrcProvider, Secret,
StaticProvider,
};
pub use credential_config::{
configured_provider, validate_entries, CredentialConfig, CredentialSource, SkippedCredential,
};
pub use error::{DatastoreError, Result};
pub use manifest::Manifest;
pub use mirror::Mirror;
#[cfg(feature = "mirror-s3")]
pub use s3::{MirrorObject, PutOutcome, S3Mirror};
pub use store::{
Datastore, DatastoreBuilder, IndexEntry, Layer, ProgressFn, ResolveOutcome, VerifyFailure,
};