| Crates.io | aquila_server |
| lib.rs | aquila_server |
| version | 0.6.2 |
| created_at | 2026-01-06 01:15:39.617048+00 |
| updated_at | 2026-01-07 15:56:17.800989+00 |
| description | Aquila asset server |
| homepage | |
| repository | https://github.com/NicoZweifel/aquila |
| max_upload_size | |
| id | 2024895 |
| size | 59,204 |
A modular, Axum-based asset server implementation.
Provides the [AquilaServer] builder, which ties together a storage backend and an authentication provider
to serve assets.
Enforces a scoped permission system. Authentication providers must grant
the following scopes in their User object:
read: to download assets, fetch manifests.write: to upload assets, publish manifests.admin: Full access. (Note: Admin tokens cannot be minted via the API and only Admins can mint tokens).use aquila_server::prelude::*;
use aquila_fs::FileSystemStorage;
use aquila_auth_mock::AllowAllAuth;
let storage = FileSystemStorage::new("./assets");
let auth = AllowAllAuth;
let app = AquilaServer::default().build(storage, auth);
License: MIT OR Apache-2.0