# cgi-service
[](https://crates.io/crates/cgi-service)
[](https://docs.rs/cgi-service)
[](https://github.com/mbid/rust-cgi-service/actions)
[](#license)
A [Tower](https://docs.rs/tower) service that implements the CGI protocol ([RFC 3875](https://tools.ietf.org/html/rfc3875)).
## Usage
```rust
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