Skip to content

Commit

Permalink
feature flag fix.
Browse files Browse the repository at this point in the history
  • Loading branch information
fakeshadow committed Apr 2, 2024
1 parent 52c00bb commit ab2a064
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 6 deletions.
10 changes: 5 additions & 5 deletions postgres/src/driver/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,14 @@ pub use response::Response;

pub(crate) use generic::DriverTx;

#[cfg(feature = "io-uring")]
mod io_uring;
#[cfg(feature = "quic")]
mod quic;
#[cfg(feature = "tls")]
mod tls;

pub(crate) use quic::{QuicStream, QUIC_ALPN};
#[cfg(feature = "io-uring")]
mod io_uring;

#[cfg(feature = "quic")]
pub(crate) mod quic;

use core::{
future::{Future, IntoFuture},
Expand Down
6 changes: 5 additions & 1 deletion postgres/src/proxy.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,11 @@ use tracing::error;
use xitca_io::net::TcpStream;
use xitca_unsafe_collection::futures::{Select, SelectOutput};

use super::driver::{generic::GenericDriver, Drive, QuicStream, QUIC_ALPN};
use super::driver::{
generic::GenericDriver,
quic::{QuicStream, QUIC_ALPN},
Drive,
};

pub type Error = Box<dyn error::Error + Send + Sync>;

Expand Down

0 comments on commit ab2a064

Please sign in to comment.