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

27 lines
885 B
Rust
Raw Normal View History

//! 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_manifest_key, attempt_object_key, is_reserved_key,
validate_attempt_key,
};
pub use store::{
CreateObjectRequest, MultipartSession, ObjectMetadata, StoredObject, TargetStore,
TimeLimitedAccess, finish_create_only,
};