Registry / networking / object-store

object-store

JSON →
library0.13.2rscratesunverified

A generic object store interface for uniformly interacting with AWS S3, Google Cloud Storage, Azure Blob Storage and local files.

# Cargo.toml [dependencies] object_store = "0.13.2"
INSTALL
IMPORT
SIG · OBJECT-STORE
O
object-store
networkingrustv0.13.2
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

ObjectStore
use object_store::ObjectStore;

List objects in a local filesystem using ObjectStore trait.

use object_store::ObjectStore; use object_store::local::LocalFileSystem; use std::sync::Arc; #[tokio::main] async fn main() -> Result<(), Box<dyn std::error::Error>> { let store: Arc<dyn ObjectStore> = Arc::new(LocalFileSystem::new()); let result = store.list(None).await?; println!("{:?}", result); Ok(()) }
Debug
Known issues
gotchaRequires an async runtime (e.g., Tokio) for most operations.
fix
Add tokio as a dependency and use #[tokio::main] or similar.
affects: >=0.1.0
Upgrade
Version history
0.13.2latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
12 hits · last 30 days
node
10
Amazon
1
OpenAI (training)
1
Resources
object-store — cargo add object-store · libregistry