mirror of
https://github.com/launchbadge/sqlx.git
synced 2025-10-03 15:55:45 +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]
|
[features]
|
||||||
default = [ "runtime-async-std" ]
|
default = [ "runtime-async-std", "migrate" ]
|
||||||
migrate = [ "sha2", "crc" ]
|
migrate = [ "sha2", "crc" ]
|
||||||
|
|
||||||
# databases
|
# databases
|
||||||
|
@ -6,7 +6,6 @@ mod connection;
|
|||||||
mod database;
|
mod database;
|
||||||
mod error;
|
mod error;
|
||||||
mod io;
|
mod io;
|
||||||
mod migrate;
|
|
||||||
mod options;
|
mod options;
|
||||||
mod protocol;
|
mod protocol;
|
||||||
mod row;
|
mod row;
|
||||||
@ -15,6 +14,9 @@ mod type_info;
|
|||||||
pub mod types;
|
pub mod types;
|
||||||
mod value;
|
mod value;
|
||||||
|
|
||||||
|
#[cfg(feature = "migrate")]
|
||||||
|
mod migrate;
|
||||||
|
|
||||||
pub use arguments::MySqlArguments;
|
pub use arguments::MySqlArguments;
|
||||||
pub use column::MySqlColumn;
|
pub use column::MySqlColumn;
|
||||||
pub use connection::MySqlConnection;
|
pub use connection::MySqlConnection;
|
||||||
|
@ -8,7 +8,6 @@ mod error;
|
|||||||
mod io;
|
mod io;
|
||||||
mod listener;
|
mod listener;
|
||||||
mod message;
|
mod message;
|
||||||
mod migrate;
|
|
||||||
mod options;
|
mod options;
|
||||||
mod row;
|
mod row;
|
||||||
mod transaction;
|
mod transaction;
|
||||||
@ -16,6 +15,9 @@ mod type_info;
|
|||||||
pub mod types;
|
pub mod types;
|
||||||
mod value;
|
mod value;
|
||||||
|
|
||||||
|
#[cfg(feature = "migrate")]
|
||||||
|
mod migrate;
|
||||||
|
|
||||||
pub use arguments::{PgArgumentBuffer, PgArguments};
|
pub use arguments::{PgArgumentBuffer, PgArguments};
|
||||||
pub use column::PgColumn;
|
pub use column::PgColumn;
|
||||||
pub use connection::PgConnection;
|
pub use connection::PgConnection;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user