trillium-async-std 0.6.1

async-std runtime adapter for trillium.rs
Documentation

🌊 trillium-async-std — async-std runtime adapter

ci crates.io version docs.rs

async-std runtime adapter for Trillium. Provides run and run_async entry points and a config() builder for server configuration. Also provides ClientConfig for use with trillium-client.

Example

fn main() {
    trillium_async_std::run(|conn: trillium::Conn| async move { conn.ok("hello async-std") });
}

Safety

This crate uses #![forbid(unsafe_code)].

License