5个版本 (1个稳定版)
使用旧的Rust 2015
1.0.0 | 2018年4月22日 |
---|---|
1.0.0-beta | 2016年4月5日 |
1.0.0-alpha.3 | 2015年12月12日 |
1.0.0-alpha.2 | 2015年8月12日 |
1.0.0-alpha | 2015年6月26日 |
#861 in HTTP服务器
每月下载量 149
34KB
683 行
Rust的FastCGI库
版权所有 (c) 2015 Mohd Tarmizi Mohd Affandi
MIT 许可证下发布。查看 LICENSE.txt
文档
阅读生成的API文档:https://docs.rs/fastcgi
lib.rs
:
FastCGI 1.0的纯Rust实现。
示例用法
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(());
});
}
依赖项
~43KB