Skip to content

Commit

Permalink
fix feature flags
Browse files Browse the repository at this point in the history
  • Loading branch information
NyxCode committed Sep 8, 2024
1 parent b41f8af commit 414896d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions ormx/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#![cfg(any(feature = "mysql", feature = "postgres", feature = "sqlite"))]
#![cfg(any(feature = "mysql", feature = "postgres", feature = "sqlite", feature = "mariadb"))]
//! Lightweight derive macros for bringing orm-like features to sqlx.
//!
//! # Example: Table
Expand Down Expand Up @@ -43,10 +43,10 @@ pub mod exports {
pub use crate::query2::map::*;
}

#[cfg(any(feature = "mysql", feature = "postgres"))]
#[cfg(any(feature = "mysql", feature = "postgres", feature = "mariadb"))]
mod query2;

#[cfg(feature = "mysql")]
#[cfg(any(feature = "mysql", feature = "mariadb"))]
pub type Db = sqlx::MySql;
#[cfg(feature = "postgres")]
pub type Db = sqlx::Postgres;
Expand Down

0 comments on commit 414896d

Please sign in to comment.