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

#1181 in HTTP server

Download history 175/week @ 2024-11-30 569/week @ 2024-12-07 117/week @ 2024-12-14 20/week @ 2024-12-21 59/week @ 2024-12-28 78/week @ 2025-01-04 10/week @ 2025-01-11 95/week @ 2025-02-15 46/week @ 2025-02-22

141 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

~84MB
~1.5M SLoC