23 releases (breaking)

0.17.0 Feb 24, 2023
0.15.0 Jan 12, 2023
0.14.1 Dec 22, 2022
0.13.0 Nov 23, 2022
0.3.0 Jul 25, 2022

#185 in WebAssembly

Download history 8/week @ 2022-11-28 27/week @ 2022-12-05 44/week @ 2022-12-12 54/week @ 2022-12-19 11/week @ 2022-12-26 13/week @ 2023-01-02 40/week @ 2023-01-09 11/week @ 2023-01-16 21/week @ 2023-01-23 25/week @ 2023-01-30 60/week @ 2023-02-06 55/week @ 2023-02-13 125/week @ 2023-02-20 9/week @ 2023-02-27 11/week @ 2023-03-06 6/week @ 2023-03-13

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

Apache-2.0

87KB
1.5K SLoC

Rust 1K SLoC // 0.0% comments SQL 217 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

~49MB
~1M SLoC