5 releases (1 stable)
Uses old Rust 2015
1.0.0 | Apr 22, 2018 |
---|---|
1.0.0-beta | Apr 5, 2016 |
1.0.0-alpha.3 | Dec 12, 2015 |
1.0.0-alpha.2 | Aug 12, 2015 |
1.0.0-alpha | Jun 26, 2015 |
#938 in HTTP server
241 downloads per month
34KB
683 lines
FastCGI library for Rust
Copyright (c) 2015 Mohd Tarmizi Mohd Affandi
Licensed under the MIT License. See LICENSE.txt
Documentation
Read the generated API documentation: https://docs.rs/fastcgi
lib.rs
:
Pure Rust implementation of FastCGI 1.0.
Example usage:
extern crate fastcgi;
use std::io::Write;
fn main() {
fastcgi::run(|mut req| {
write!(&mut req.stdout(), "Content-Type: text/plain\n\nHello, world!")
.unwrap_or(());
});
}
Dependencies
~44KB