Registry / web-framework / trillium

trillium

JSON →
library1.3.0rscratesunverified

A modular toolkit for building async web applications in Rust.

# Cargo.toml [dependencies] trillium = "1.3.0"
INSTALL
IMPORT
SIG · TRILLIUM
T
trillium
web-frameworkrustv1.3.0
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.

App
use trillium::App;

Creates a minimal Trillium web server that responds with 'Hello, world!'.

use trillium::App; fn main() { App::new() .with(|conn: trillium::Conn| async move { conn.ok("Hello, world!") }) .run(); }
Debug
Known issues
gotchaRequires an async runtime (e.g., Tokio or Smol) to be enabled via feature flags.
fix
Add `trillium-smol` or `trillium-tokio` as a dependency and enable the corresponding feature.
affects: >=1.0.0
Upgrade
Version history
1.3.0latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
54 hits · last 30 days
node
48
Resources
trillium — cargo add trillium · libregistry