Switch to out-of-std bufstream
This commit is contained in:
parent
9f7fa790b1
commit
a6c5d3014d
@ -30,6 +30,7 @@ log = "0.3"
|
|||||||
rustc-serialize = "0.3"
|
rustc-serialize = "0.3"
|
||||||
byteorder = "0.3"
|
byteorder = "0.3"
|
||||||
debug-builders = "0.1"
|
debug-builders = "0.1"
|
||||||
|
bufstream = "0.1"
|
||||||
uuid = { version = "0.1", optional = true }
|
uuid = { version = "0.1", optional = true }
|
||||||
unix_socket = { version = "0.3", optional = true }
|
unix_socket = { version = "0.3", optional = true }
|
||||||
time = { version = "0.1.14", optional = true }
|
time = { version = "0.1.14", optional = true }
|
||||||
|
@ -45,6 +45,7 @@
|
|||||||
#![doc(html_root_url="https://sfackler.github.io/rust-postgres/doc")]
|
#![doc(html_root_url="https://sfackler.github.io/rust-postgres/doc")]
|
||||||
#![warn(missing_docs)]
|
#![warn(missing_docs)]
|
||||||
|
|
||||||
|
extern crate bufstream;
|
||||||
extern crate byteorder;
|
extern crate byteorder;
|
||||||
#[macro_use]
|
#[macro_use]
|
||||||
extern crate log;
|
extern crate log;
|
||||||
@ -55,6 +56,7 @@ extern crate rustc_serialize as serialize;
|
|||||||
extern crate unix_socket;
|
extern crate unix_socket;
|
||||||
extern crate debug_builders;
|
extern crate debug_builders;
|
||||||
|
|
||||||
|
use bufstream::BufStream;
|
||||||
use debug_builders::DebugStruct;
|
use debug_builders::DebugStruct;
|
||||||
use openssl::crypto::hash::{self, Hasher};
|
use openssl::crypto::hash::{self, Hasher};
|
||||||
use openssl::ssl::{SslContext, MaybeSslStream};
|
use openssl::ssl::{SslContext, MaybeSslStream};
|
||||||
@ -65,7 +67,7 @@ use std::cell::{Cell, RefCell};
|
|||||||
use std::collections::{VecDeque, HashMap};
|
use std::collections::{VecDeque, HashMap};
|
||||||
use std::fmt;
|
use std::fmt;
|
||||||
use std::iter::IntoIterator;
|
use std::iter::IntoIterator;
|
||||||
use std::io::{self, BufStream};
|
use std::io;
|
||||||
use std::io::prelude::*;
|
use std::io::prelude::*;
|
||||||
use std::mem;
|
use std::mem;
|
||||||
use std::slice;
|
use std::slice;
|
||||||
|
Loading…
Reference in New Issue
Block a user