2 unstable releases
Uses new Rust 2024
| 0.2.0 | Jan 10, 2026 |
|---|---|
| 0.1.0 | Jan 10, 2026 |
#966 in HTTP server
22 downloads per month
34KB
541 lines
A Tower service that implements the CGI protocol (RFC 3875).
Example
use axum::{Router, routing::any_service};
use cgi_service::CgiService;
let app: Router = Router::new().route(
"/",
any_service(CgiService::new("/usr/lib/cgi-bin/script")),
);
cgi-service
A Tower service that implements the CGI protocol (RFC 3875).
Usage
use axum::{Router, routing::any_service};
use cgi_service::CgiService;
let app: Router = Router::new().route(
"/",
any_service(CgiService::new("/usr/lib/cgi-bin/script")),
);
License
MIT
Dependencies
~3–14MB
~103K SLoC