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 |
#717 in HTTP server
Used in 2 crates
(via grafbase-local-backend)
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
~81MB
~1.5M SLoC