Switch to out-of-std bufstream

This commit is contained in:
Steven Fackler 2015-05-05 11:40:14 -07:00
parent 9f7fa790b1
commit a6c5d3014d
2 changed files with 4 additions and 1 deletions

View File

@ -30,6 +30,7 @@ log = "0.3"
rustc-serialize = "0.3"
byteorder = "0.3"
debug-builders = "0.1"
bufstream = "0.1"
uuid = { version = "0.1", optional = true }
unix_socket = { version = "0.3", optional = true }
time = { version = "0.1.14", optional = true }

View File

@ -45,6 +45,7 @@
#![doc(html_root_url="https://sfackler.github.io/rust-postgres/doc")]
#![warn(missing_docs)]
extern crate bufstream;
extern crate byteorder;
#[macro_use]
extern crate log;
@ -55,6 +56,7 @@ extern crate rustc_serialize as serialize;
extern crate unix_socket;
extern crate debug_builders;
use bufstream::BufStream;
use debug_builders::DebugStruct;
use openssl::crypto::hash::{self, Hasher};
use openssl::ssl::{SslContext, MaybeSslStream};
@ -65,7 +67,7 @@ use std::cell::{Cell, RefCell};
use std::collections::{VecDeque, HashMap};
use std::fmt;
use std::iter::IntoIterator;
use std::io::{self, BufStream};
use std::io;
use std::io::prelude::*;
use std::mem;
use std::slice;