| Crates.io | oxidite-storage |
| lib.rs | oxidite-storage |
| version | 2.0.1 |
| created_at | 2025-12-07 14:22:33.560431+00 |
| updated_at | 2026-01-25 01:43:54.229056+00 |
| description | File storage for Oxidite with local and S3 backends |
| homepage | |
| repository | https://github.com/meshackbahati/rust-oxidite |
| max_upload_size | |
| id | 1971674 |
| size | 81,674 |
File storage for Oxidite with local and S3 backends.
[dependencies]
oxidite-storage = "0.1"
use oxidite_storage::*;
// Local storage
let storage = LocalStorage::new("uploads").unwrap();
// Store file
storage.put("file.txt", data).await?;
// Get file
let data = storage.get("file.txt").await?;
// Delete
storage.delete("file.txt").await?;
MIT