hello/
hello.rs

1extern crate fastcgi;
2
3use std::io::Write;
4
5fn main() {
6    fastcgi::run(|mut req| {
7        write!(&mut req.stdout(), "Content-Type: text/plain\n\nHello, world!")
8        .unwrap_or(());
9    });
10}