Update for upstream changes
This commit is contained in:
parent
ed81ceadf2
commit
8e34fe3586
@ -67,7 +67,6 @@ fn main() {
|
||||
extern crate collections;
|
||||
extern crate openssl;
|
||||
extern crate serialize;
|
||||
extern crate sync;
|
||||
extern crate time;
|
||||
extern crate phf;
|
||||
#[phase(plugin)]
|
||||
|
@ -1,6 +1,6 @@
|
||||
//! A simple connection pool
|
||||
|
||||
use sync::{Arc, Mutex};
|
||||
use std::sync::{Arc, Mutex};
|
||||
|
||||
use {PostgresNotifications,
|
||||
PostgresConnectParams,
|
||||
|
@ -1,6 +1,6 @@
|
||||
use serialize::json;
|
||||
use sync;
|
||||
use sync::Future;
|
||||
use std::comm;
|
||||
use std::sync::Future;
|
||||
use time;
|
||||
use time::Timespec;
|
||||
use uuid::Uuid;
|
||||
@ -54,7 +54,7 @@ fn test_pool() {
|
||||
let pool = or_fail!(PostgresConnectionPool::new("postgres://postgres@localhost",
|
||||
NoSsl, 2));
|
||||
|
||||
let (stream1, stream2) = sync::duplex();
|
||||
let (stream1, stream2) = comm::duplex();
|
||||
|
||||
let pool1 = pool.clone();
|
||||
let mut fut1 = Future::spawn(proc() {
|
||||
|
@ -1 +1 @@
|
||||
Subproject commit d997210911a18cf9048afe195b701462c17989cb
|
||||
Subproject commit d766671bda3777690ef71739bbdd29382d56a7bc
|
Loading…
Reference in New Issue
Block a user