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 |
#375 in WebAssembly
116 downloads per month
Used in grafbase
130KB
1.5K
SLoC
Local Gateway
lib.rs
:
The local-gateway crate provides a local backend for Grafbase developer tools
Example
use backend::server_api::start_server;
# common::environment::Environment::try_init().unwrap();
const PORT: Option<u16> = Some(4000);
const SEARCH: bool = true;
// `common::environment::Environment` must be initialized before this
let (server_port, server_handle) = start_server(PORT, SEARCH).unwrap();
Dependencies
~54MB
~1M SLoC