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

Download history 43/week @ 2024-07-20 59/week @ 2024-07-27 92/week @ 2024-08-03 34/week @ 2024-08-10 46/week @ 2024-08-17 52/week @ 2024-08-24 64/week @ 2024-08-31 27/week @ 2024-09-07 50/week @ 2024-09-14 75/week @ 2024-09-21 34/week @ 2024-09-28 44/week @ 2024-10-05 90/week @ 2024-10-12 47/week @ 2024-10-19 42/week @ 2024-10-26 58/week @ 2024-11-02

241 downloads per month

MIT license

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