mirror of
https://github.com/launchbadge/sqlx.git
synced 2025-10-02 15:25:32 +00:00
fix: add a couple missing cfgs for the migrate feature
This commit is contained in:
parent
993352e9d4
commit
ff4dd4c7e7
@ -13,7 +13,7 @@ authors = [
|
||||
]
|
||||
|
||||
[features]
|
||||
default = [ "runtime-async-std" ]
|
||||
default = [ "runtime-async-std", "migrate" ]
|
||||
migrate = [ "sha2", "crc" ]
|
||||
|
||||
# databases
|
||||
|
@ -6,7 +6,6 @@ mod connection;
|
||||
mod database;
|
||||
mod error;
|
||||
mod io;
|
||||
mod migrate;
|
||||
mod options;
|
||||
mod protocol;
|
||||
mod row;
|
||||
@ -15,6 +14,9 @@ mod type_info;
|
||||
pub mod types;
|
||||
mod value;
|
||||
|
||||
#[cfg(feature = "migrate")]
|
||||
mod migrate;
|
||||
|
||||
pub use arguments::MySqlArguments;
|
||||
pub use column::MySqlColumn;
|
||||
pub use connection::MySqlConnection;
|
||||
|
@ -8,7 +8,6 @@ mod error;
|
||||
mod io;
|
||||
mod listener;
|
||||
mod message;
|
||||
mod migrate;
|
||||
mod options;
|
||||
mod row;
|
||||
mod transaction;
|
||||
@ -16,6 +15,9 @@ mod type_info;
|
||||
pub mod types;
|
||||
mod value;
|
||||
|
||||
#[cfg(feature = "migrate")]
|
||||
mod migrate;
|
||||
|
||||
pub use arguments::{PgArgumentBuffer, PgArguments};
|
||||
pub use column::PgColumn;
|
||||
pub use connection::PgConnection;
|
||||
|
Loading…
x
Reference in New Issue
Block a user