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

#841 in HTTP server

Download history 31/week @ 2023-12-18 23/week @ 2023-12-25 33/week @ 2024-01-01 45/week @ 2024-01-08 34/week @ 2024-01-15 22/week @ 2024-01-22 20/week @ 2024-01-29 25/week @ 2024-02-05 22/week @ 2024-02-12 57/week @ 2024-02-19 55/week @ 2024-02-26 84/week @ 2024-03-04 74/week @ 2024-03-11 49/week @ 2024-03-18 32/week @ 2024-03-25 71/week @ 2024-04-01

237 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

~42KB