44 releases (18 breaking)

0.19.2 May 12, 2023
0.18.13 May 9, 2023
0.18.0-rc.4 Mar 31, 2023
0.14.1 Dec 22, 2022
0.3.0 Jul 25, 2022

#1318 in HTTP server

Download history 10/week @ 2024-10-02 1/week @ 2024-10-09 2/week @ 2024-10-30 2/week @ 2024-11-06 48/week @ 2024-11-27 466/week @ 2024-12-04 328/week @ 2024-12-11 37/week @ 2024-12-18 13/week @ 2024-12-25 120/week @ 2025-01-01 16/week @ 2025-01-08

149 downloads per month
Used in 2 crates (via grafbase-local-backend)

Apache-2.0

180KB
3.5K SLoC

Server


lib.rs:

The server crate provides a server with the gateway worker (via miniflare) and a bridge server connecting the worker to an sqlite db

Example

const PORT: u16 = 4000;
# common::environment::Environment::try_init().unwrap();

// `common::environment::Environment` must be initialized before this

let server_handle = server::start(PORT).unwrap();

Dependencies

~83MB
~1.5M SLoC