This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#![feature(plugin)] | |
#![plugin(rocket_codegen)] | |
#![feature(decl_macro)] | |
extern crate rocket; | |
use std::io; | |
use std::io::Read; | |
use std::fs::File; | |
use rocket::response::Stream; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[package] | |
name = "chunked" | |
version = "0.1.0" | |
authors = ["Guillaume Friloux <[email protected]>"] | |
[dependencies] | |
rocket = "0.3.3" | |
rocket_codegen = "0.3.3" | |
rocket_contrib = "0.3.3" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#![feature(plugin)] | |
#![plugin(rocket_codegen)] | |
extern crate rocket; | |
use std::io; | |
use std::io::Read; | |
use std::fs::File; | |
use rocket::request::Request; | |
use rocket::response::{self, Response, Responder}; |