athena_rs 3.26.2

Hyper performant polyglot Database driver
Documentation
1
2
3
4
5
6
7
8
9
10
11
//! Standalone binary entrypoint for the Athena WebSocket gateway process.
//!
//! Boots runtime from environment and serves [`openapi-wss.yaml`](../../openapi-wss.yaml)
//! `/wss/gateway` via [`athena_rs::runtime::run_wss_gateway_runtime`].

#[actix_web::main]
async fn main() -> anyhow::Result<()> {
    let _runtime = athena_rs::runtime::initialize_process_runtime();
    let context = athena_rs::runtime::load_runtime_bootstrap_from_env().await?;
    athena_rs::runtime::run_wss_gateway_runtime(context).await
}