15 releases

0.0.18 Feb 9, 2025
0.0.17 Feb 9, 2025
0.0.13 Jan 24, 2025
0.0.10 Jan 18, 2023

#1349 in HTTP server

Download history 10/week @ 2024-12-10 322/week @ 2025-01-21 18/week @ 2025-01-28 624/week @ 2025-02-04 89/week @ 2025-02-11

1,053 downloads per month
Used in motorx

MIT/Apache

87KB
2K 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.run().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 the server
    server.run().await.unwrap()
}

Dependencies

~10–33MB
~610K SLoC