7 releases

0.0.10 Jan 18, 2023
0.0.9 Jan 18, 2023

#77 in #reverse-proxy

35 downloads per month
Used in motorx

MIT/Apache

54KB
1K SLoC

motorx-core

Build custom Motorx binaries

use motorx_core::{Server, Config};

#[tokio::main]
async fn main() {
    let server = Server::new(Config { /* your config here */ });
    server.await.unwrap();
}

lib.rs:

A reverse-proxy written in pure rust, built on hyper, tokio, and rustls

Motorx

Basic usage

#[tokio::main]
async fn main() {
    // Register a tracing subscriber for logging

    let server = motorx_core::Server::new(motorx_core::Config { /* Your config here */ });

    // start polling and proxying requests
    server.await.unwrap()
}

Dependencies

~7–21MB
~302K SLoC