Remove back compat reexport
This commit is contained in:
parent
7d07e61e9c
commit
4373eff16f
@ -67,9 +67,6 @@ use std::time::Duration;
|
||||
#[cfg(any(feature = "unix_socket", all(unix, feature = "nightly")))]
|
||||
use std::path::PathBuf;
|
||||
|
||||
// FIXME remove in 0.12
|
||||
pub use transaction::{Transaction, IsolationLevel};
|
||||
|
||||
use error::{Error, ConnectError, SqlState, DbError};
|
||||
use io::{StreamWrapper, NegotiateSsl};
|
||||
use message::{Frontend, Backend, RowDescriptionEntry};
|
||||
@ -79,6 +76,7 @@ use rows::{Rows, LazyRows};
|
||||
use stmt::{Statement, Column};
|
||||
use types::{IsNull, Kind, Type, SessionInfo, Oid, Other, WrongType, ToSql, FromSql, Field};
|
||||
use url::Url;
|
||||
use transaction::{Transaction, IsolationLevel};
|
||||
|
||||
#[macro_use]
|
||||
mod macros;
|
||||
|
@ -7,8 +7,8 @@ use std::fmt;
|
||||
use std::ops::Deref;
|
||||
use std::slice;
|
||||
|
||||
use {Result, Transaction, SessionInfoNew, RowsNew, LazyRowsNew, StatementInternals,
|
||||
WrongTypeNew};
|
||||
use {Result, SessionInfoNew, RowsNew, LazyRowsNew, StatementInternals, WrongTypeNew};
|
||||
use transaction::Transaction;
|
||||
use types::{FromSql, SessionInfo, WrongType};
|
||||
use stmt::{Statement, Column};
|
||||
use error::Error;
|
||||
|
@ -10,8 +10,9 @@ use error::{Error, DbError};
|
||||
use types::{SessionInfo, Type, ToSql};
|
||||
use message::{WriteMessage, Backend, Frontend};
|
||||
use rows::{Rows, LazyRows};
|
||||
use {bad_response, Connection, Transaction, StatementInternals, Result, RowsNew, InnerConnection,
|
||||
SessionInfoNew, LazyRowsNew, DbErrorNew, ColumnNew, StatementInfo, TransactionInternals};
|
||||
use transaction::Transaction;
|
||||
use {bad_response, Connection, StatementInternals, Result, RowsNew, InnerConnection, SessionInfoNew,
|
||||
LazyRowsNew, DbErrorNew, ColumnNew, StatementInfo, TransactionInternals};
|
||||
|
||||
/// A prepared statement.
|
||||
pub struct Statement<'conn> {
|
||||
|
@ -13,8 +13,8 @@ use std::io;
|
||||
use std::io::prelude::*;
|
||||
use std::time::Duration;
|
||||
|
||||
use postgres::{HandleNotice, Connection, GenericConnection, SslMode, IntoConnectParams,
|
||||
IsolationLevel, transaction};
|
||||
use postgres::{HandleNotice, Connection, GenericConnection, SslMode, IntoConnectParams};
|
||||
use postgres::transaction::{self, IsolationLevel};
|
||||
use postgres::error::{Error, ConnectError, DbError};
|
||||
use postgres::types::{Oid, Type, Kind, WrongType};
|
||||
use postgres::error::SqlState::{SyntaxError,
|
||||
|
Loading…
Reference in New Issue
Block a user