22 releases (5 breaking)

Uses new Rust 2024

new 0.7.0-rc.13 Feb 24, 2026
0.7.0-rc.11 Feb 3, 2026
0.7.0-rc.7 Jan 30, 2026
0.6.5 Jan 27, 2026
0.1.3 Jan 6, 2026

#1473 in HTTP server


Used in aquila

MIT/Apache

50KB
1K SLoC

Aquila Server

Crates.io Downloads Docs

A modular, Axum-based asset server implementation.

Provides the AquilaServer builder, which ties together a storage backend and an authentication provider to serve assets.

Permissions

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/write tokens cannot be minted via the API and only write access can mint tokens).

Example

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

Dependencies

~26MB
~411K SLoC