remora/crates/remora-target/src/lib.rs

28 lines
1 KiB
Rust

//! Target storage adapter (WP-08).
//!
//! OpenDAL-backed create-only attempt objects, multipart recovery, exact
//! identity reads and deletes, independent SHA-256, version retention, and
//! exact time-limited access against S3-compatible target stores.
mod body;
mod config;
mod digest;
mod error;
mod identity;
mod multipart;
mod store;
pub use body::{OpenDalTargetBody, StoredWrite};
pub use config::TargetStoreConfig;
pub use digest::{ContentSha256, hash_bytes, sha256_equal};
pub use error::TargetError;
pub use identity::{
CompletedPart, MultipartIdentity, ObjectIdentity, REMORA_SHA256_METADATA_KEY,
RESERVED_NAMESPACE_SEGMENT, attempt_key_attempt_id, attempt_manifest_key,
attempt_manifest_key_in, attempt_object_key, attempt_object_key_in, attempt_object_prefix,
attempt_staging_prefix, is_reserved_key, validate_attempt_key,
};
pub use store::{
CreateObjectRequest, MultipartSession, ObjectMetadata, StagingWriteDiscovery, StoredObject,
TargetStore, TimeLimitedAccess, finish_create_only,
};