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
44
45
46
47
48
49
50
51
52
// SPDX-License-Identifier: MIT OR Apache-2.0
//! ailake-store — object storage abstraction
//!
//! Thin wrapper over object_store crate.
//! The get_range method is critical for partial S3 reads of the HNSW footer.
//!
//! ## Quick start
//!
//! Use `store_from_url` for env-based auth, or the typed builders for explicit credentials:
//!
//! ```rust,ignore
//! // URL-based (env credentials)
//! let store = ailake_store::store_from_url("s3://my-bucket/warehouse/my_table")?;
//!
//! // Explicit static credentials (dev / CI)
//! use ailake_store::s3::{s3_store, S3Config, S3Credentials};
//! let store = s3_store(S3Config {
//! bucket: "my-bucket".into(),
//! region: "us-east-1".into(),
//! endpoint: None,
//! allow_http: false,
//! credentials: S3Credentials::Static {
//! access_key_id: "AKIA...".into(),
//! secret_access_key: "secret".into(),
//! session_token: None,
//! },
//! }, "warehouse/my_table/")?;
//! ```
pub use store_from_url;
pub use LocalStore;
pub use ObjectStoreBackend;
pub use Store;
pub use ;
pub use ;
pub use ;