diff --git a/src/pool.rs b/src/pool.rs index 810440fb..ad9aad96 100644 --- a/src/pool.rs +++ b/src/pool.rs @@ -1,4 +1,5 @@ //! A simple connection pool +#![deprecated="Use https://github.com/sfackler/r2d2-postgres instead"] use std::sync::{Arc, Mutex}; diff --git a/tests/pool.rs b/tests/pool.rs index a1bf500e..09d48dad 100644 --- a/tests/pool.rs +++ b/tests/pool.rs @@ -1,3 +1,5 @@ +#![allow(deprecated)] + use std::comm; use std::sync::Future;