Tidy some imports
This commit is contained in:
parent
d0fd4d4bc9
commit
8189794287
3 changed files with 7 additions and 3 deletions
|
@ -2,6 +2,9 @@ extern crate futures;
|
|||
extern crate hyper;
|
||||
extern crate lab_ebml;
|
||||
|
||||
use std::env::args;
|
||||
use std::net::ToSocketAddrs;
|
||||
|
||||
use futures::future::FutureResult;
|
||||
use futures::stream::once;
|
||||
use futures::stream::repeat;
|
||||
|
@ -12,8 +15,6 @@ use lab_ebml::webm_stream::WebmBuffer;
|
|||
use hyper::{Get, StatusCode};
|
||||
use hyper::header::ContentType;
|
||||
use hyper::server::{Http, Request, Response, Service};
|
||||
use std::env::args;
|
||||
use std::net::ToSocketAddrs;
|
||||
|
||||
const SRC_FILE: &'static [u8] = include_bytes!("../data/test1.webm");
|
||||
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
use futures::Async;
|
||||
|
||||
use ebml::EbmlError;
|
||||
use ebml::EbmlEventSource;
|
||||
use ebml::FromEbml;
|
||||
|
|
|
@ -3,7 +3,9 @@ use bytes::BufMut;
|
|||
use futures::Async;
|
||||
use futures::stream::Stream;
|
||||
|
||||
use ebml::*;
|
||||
use ebml::EbmlError;
|
||||
use ebml::EbmlEventSource;
|
||||
use ebml::FromEbml;
|
||||
|
||||
pub enum ParsingError<E> {
|
||||
EbmlError(EbmlError),
|
||||
|
|
Loading…
Reference in a new issue