Skip to content

Commit 606637b

Browse files
committed
Bump to 1.9, drop net2
1 parent 5a58966 commit 606637b

File tree

5 files changed

+2
-7
lines changed

5 files changed

+2
-7
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ sudo: required
33
rust:
44
- nightly
55
- beta
6-
- 1.8.0
6+
- 1.9.0
77
addons:
88
postgresql: 9.4
99
before_script:

Cargo.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@ byteorder = "0.5"
2929
log = "0.3"
3030
phf = "=0.7.15"
3131
hex = "0.2"
32-
net2 = "0.2.16"
3332
rustc-serialize = { version = "0.3", optional = true }
3433
chrono = { version = "0.2.14", optional = true }
3534
openssl = { version = ">= 0.6.4, < 0.8", optional = true }

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ fn main() {
5151
```
5252

5353
## Requirements
54-
* **Rust** - Rust-Postgres is developed against the 1.7 release of Rust
54+
* **Rust** - Rust-Postgres is developed against the 1.9 release of Rust
5555
available on http://www.rust-lang.org. It should also compile against more
5656
recent releases.
5757

src/lib.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,6 @@ extern crate log;
5151
extern crate phf;
5252
#[cfg(feature = "unix_socket")]
5353
extern crate unix_socket;
54-
extern crate net2;
5554

5655
use bufstream::BufStream;
5756
use md5::Md5;

src/priv_io.rs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,4 @@
11
use byteorder::ReadBytesExt;
2-
// this import needs to stay to support pre 1.9 users
3-
#[allow(unused_imports)]
4-
use net2::TcpStreamExt;
52
use std::error::Error;
63
use std::io;
74
use std::io::prelude::*;

0 commit comments

Comments
 (0)