Skip to main content

appcore_storage/
lib.rs

1// =============================================================================
2//        #######
3//     ###       ###     F: lib.rs
4//    ##   ## ##   ##    P: AppCore-Runtime
5//         ## ##
6//                       C: 2026/05/29 20:47:35 by dnettoRaw
7//    ##   ## ##   ##    U: 2026/08/02 00:04:12 by dnettoRaw
8//      ###########      S: 1.0.1-rc.8
9// =============================================================================
10
11//! Storage contracts for provider health, repositories, migrations, and backups.
12
13#![deny(missing_docs)]
14
15pub mod manifest;
16pub mod storage;
17
18pub use manifest::{ManifestFileEntry, StorageManifest};
19pub use storage::{
20    data_claims, file_storage_capability_descriptor_v1, make_auth_request, now_ms,
21    open_remote_request, open_remote_response, process_remote_request, seal_remote_request,
22    seal_remote_response, transport_claims, validate_auth_resource, AuthRemoteRequest,
23    AuthRemoteResponse, BackupDescriptor, DntFileObjectStore, DntFileSecretStore,
24    DntFileSnapshotStore, FileStorageProvider, Migration, MigrationId, RemoteAuthStorageClient,
25    Repository, RepositoryName, SealedObjectStore, SealedSecretStore, SealedSnapshotStore,
26    SealedStoragePolicy, StorageCapabilityCatalogV1, StorageCapabilityDescriptorV1,
27    StorageCapabilityError, StorageCapabilityProviderV1, StorageCapabilityRequirementsV1,
28    StorageCapabilityV1, StorageError, StorageHealth, StorageProvider, StorageResult,
29    StorageStatus, Transaction, AUTH_REMOTE_ENDPOINT, AUTH_REMOTE_SCHEMA,
30    DEFAULT_AUTH_REMOTE_MAX_BYTES, DEFAULT_AUTH_REMOTE_MAX_HTTP_RESPONSE_BYTES,
31    DEFAULT_AUTH_REMOTE_MAX_PLAINTEXT_BYTES, DEFAULT_AUTH_REMOTE_MAX_SEALED_BYTES,
32    DEFAULT_AUTH_REMOTE_TIMEOUT_MS, DEFAULT_AUTH_REMOTE_TTL_MS, DEFAULT_FILE_READ_MAX_BYTES,
33    MAX_STORAGE_BACKUP_FILE_BYTES, MAX_STORAGE_CAPABILITY_PROVIDERS_V1, MAX_STORAGE_SNAPSHOT_BYTES,
34    STORAGE_CAPABILITY_COUNT_V1, STORAGE_CAPABILITY_DESCRIPTOR_VERSION_V1,
35    STORAGE_REQUIRED_CAPABILITIES_SETTING,
36};