mirror of
https://github.com/launchbadge/sqlx.git
synced 2025-12-29 21:00:54 +00:00
chore: expose bstr feature (#3714)
This commit is contained in:
parent
91291beb23
commit
f42561b8d7
@ -72,6 +72,7 @@ _unstable-all-types = [
|
||||
"mac_address",
|
||||
"uuid",
|
||||
"bit-vec",
|
||||
"bstr"
|
||||
]
|
||||
|
||||
# Base runtime features without TLS
|
||||
@ -122,6 +123,7 @@ rust_decimal = ["sqlx-core/rust_decimal", "sqlx-macros?/rust_decimal", "sqlx-mys
|
||||
time = ["sqlx-core/time", "sqlx-macros?/time", "sqlx-mysql?/time", "sqlx-postgres?/time", "sqlx-sqlite?/time"]
|
||||
uuid = ["sqlx-core/uuid", "sqlx-macros?/uuid", "sqlx-mysql?/uuid", "sqlx-postgres?/uuid", "sqlx-sqlite?/uuid"]
|
||||
regexp = ["sqlx-sqlite?/regexp"]
|
||||
bstr = ["sqlx-core/bstr"]
|
||||
|
||||
[workspace.dependencies]
|
||||
# Core Crates
|
||||
|
||||
@ -85,6 +85,9 @@ pub mod mac_address {
|
||||
pub use json::{Json, JsonRawValue, JsonValue};
|
||||
pub use text::Text;
|
||||
|
||||
#[cfg(feature = "bstr")]
|
||||
pub use bstr::{BStr, BString};
|
||||
|
||||
/// Indicates that a SQL type is supported for a database.
|
||||
///
|
||||
/// ## Compile-time verification
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user