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

#1347 in HTTP server

Download history 1/week @ 2024-12-05 9/week @ 2024-12-12 331/week @ 2025-01-23 197/week @ 2025-01-30 472/week @ 2025-02-06 68/week @ 2025-02-13 7/week @ 2025-02-27

732 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
~622K SLoC