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
1,053 downloads per month
Used in motorx
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