Skip to content

Commit f04fc0d

Browse files
committed
Deprecate connection pool
1 parent 7d84244 commit f04fc0d

2 files changed

Lines changed: 3 additions & 0 deletions

File tree

src/pool.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
//! A simple connection pool
2+
#![deprecated="Use https://github.com/sfackler/r2d2-postgres instead"]
23

34
use std::sync::{Arc, Mutex};
45

tests/pool.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
#![allow(deprecated)]
2+
13
use std::comm;
24
use std::sync::Future;
35

0 commit comments

Comments
 (0)