1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
//! Cloud Storage Backends (#72)
//!
//! Artifact storage abstraction supporting local, S3, Azure, and GCS backends.
//!
//! # Toyota Principle: Heijunka (平準化)
//!
//! Level workloads across storage tiers - artifacts are stored content-addressably
//! to enable efficient caching and deduplication across storage backends.
//!
//! # Example
//!
//! ```
//! use entrenar::storage::cloud::{ArtifactBackend, LocalBackend};
//! use std::path::PathBuf;
//!
//! fn example() -> Result<(), Box<dyn std::error::Error>> {
//! let backend = LocalBackend::new(PathBuf::from("/tmp/artifacts"));
//! let hash = backend.put("model.safetensors", b"test data")?;
//! let data = backend.get(&hash)?;
//! Ok(())
//! }
//! ```
// Re-export all public types for API compatibility
pub use AzureConfig;
pub use BackendConfig;
pub use ;
pub use GCSConfig;
pub use LocalBackend;
pub use InMemoryBackend;
pub use ArtifactMetadata;
pub use ;
pub use ;