Bump to 1.9, drop net2
This commit is contained in:
parent
5a58966148
commit
606637be1c
@ -3,7 +3,7 @@ sudo: required
|
||||
rust:
|
||||
- nightly
|
||||
- beta
|
||||
- 1.8.0
|
||||
- 1.9.0
|
||||
addons:
|
||||
postgresql: 9.4
|
||||
before_script:
|
||||
|
@ -29,7 +29,6 @@ byteorder = "0.5"
|
||||
log = "0.3"
|
||||
phf = "=0.7.15"
|
||||
hex = "0.2"
|
||||
net2 = "0.2.16"
|
||||
rustc-serialize = { version = "0.3", optional = true }
|
||||
chrono = { version = "0.2.14", optional = true }
|
||||
openssl = { version = ">= 0.6.4, < 0.8", optional = true }
|
||||
|
@ -51,7 +51,7 @@ fn main() {
|
||||
```
|
||||
|
||||
## Requirements
|
||||
* **Rust** - Rust-Postgres is developed against the 1.7 release of Rust
|
||||
* **Rust** - Rust-Postgres is developed against the 1.9 release of Rust
|
||||
available on http://www.rust-lang.org. It should also compile against more
|
||||
recent releases.
|
||||
|
||||
|
@ -51,7 +51,6 @@ extern crate log;
|
||||
extern crate phf;
|
||||
#[cfg(feature = "unix_socket")]
|
||||
extern crate unix_socket;
|
||||
extern crate net2;
|
||||
|
||||
use bufstream::BufStream;
|
||||
use md5::Md5;
|
||||
|
@ -1,7 +1,4 @@
|
||||
use byteorder::ReadBytesExt;
|
||||
// this import needs to stay to support pre 1.9 users
|
||||
#[allow(unused_imports)]
|
||||
use net2::TcpStreamExt;
|
||||
use std::error::Error;
|
||||
use std::io;
|
||||
use std::io::prelude::*;
|
||||
|
Loading…
Reference in New Issue
Block a user