Registry / web-framework / trillium-smol

trillium-smol

JSON →
library0.6.2rscratesunverified

Smol runtime adapter for the trillium.rs web framework.

# Cargo.toml [dependencies] trillium-smol = "0.6.2"
INSTALL
IMPORT
SIG · TRILLIUM-SMOL
T
trillium-smol
web-frameworkrustv0.6.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.

SmolAdapter
use trillium_smol::SmolAdapter;

Create a smol runtime adapter

use trillium_smol::SmolAdapter; fn main() { let adapter = SmolAdapter::new(); println!("Smol adapter created"); }
Debug
Known issues
gotchaRequires the smol runtime to be running
fix
Ensure smol::run is called or use trillium-smol in an async context
affects: >=0.6.0
Upgrade
Version history
0.6.2latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
52 hits · last 30 days
node
48
Resources
trillium-smol — cargo add trillium-smol · libregistry