mirror of
https://github.com/launchbadge/sqlx.git
synced 2025-12-29 21:00:54 +00:00
* Sqlx-core: rename async_io dependency for async-std * Sqlx-core: simplify TimeoutError * Sqlx-core: code for async-global-executor * Sqlx: integrate async-global-executor feature * Note to unsafe * Step up MSRV as async-global-executor needs it * Sqlx-core: fix of unix socket build * Unsafe fixes, smol executor added * Workflow fix * Changes outside sqlx_rt * Cleanup conditional rt compilation * Warning * Add executors to test matrix * Fix of skipping code sqlite due to mismatch in cargo feature names * Smol executor isolated * Fix, reduce number of tests, remove async_std * Fix of test_block_on, regression * Format fixes * async-global-executor added * async-std changed to 1.13 * litemap, zerofrom requires rustc 1.81 * Fix of missing _sqlite in cargo.toml * Clippy lints * Clean up * Remove features combinations * Fixes after merge * Fix of compiling connect_tcp_address with both tokio + other executor selected * Try to fix CI -Z minimal-versions check Try to fix CI -Z minimal-versions check
65 lines
2.0 KiB
TOML
65 lines
2.0 KiB
TOML
[package]
|
|
name = "sqlx-macros"
|
|
description = "Macros for SQLx, the rust SQL toolkit. Not intended to be used directly."
|
|
version.workspace = true
|
|
license.workspace = true
|
|
edition.workspace = true
|
|
authors.workspace = true
|
|
repository.workspace = true
|
|
rust-version.workspace = true
|
|
|
|
[lib]
|
|
proc-macro = true
|
|
|
|
[features]
|
|
default = []
|
|
|
|
# for conditional compilation
|
|
_rt-async-global-executor = ["sqlx-macros-core/_rt-async-global-executor"]
|
|
_rt-async-std = ["sqlx-macros-core/_rt-async-std"]
|
|
_rt-smol = ["sqlx-macros-core/_rt-smol"]
|
|
_rt-tokio = ["sqlx-macros-core/_rt-tokio"]
|
|
|
|
_tls-native-tls = ["sqlx-macros-core/_tls-native-tls"]
|
|
_tls-rustls-aws-lc-rs = ["sqlx-macros-core/_tls-rustls-aws-lc-rs"]
|
|
_tls-rustls-ring-webpki = ["sqlx-macros-core/_tls-rustls-ring-webpki"]
|
|
_tls-rustls-ring-native-roots = ["sqlx-macros-core/_tls-rustls-ring-native-roots"]
|
|
|
|
# SQLx features
|
|
derive = ["sqlx-macros-core/derive"]
|
|
macros = ["sqlx-macros-core/macros"]
|
|
migrate = ["sqlx-macros-core/migrate"]
|
|
|
|
sqlx-toml = ["sqlx-macros-core/sqlx-toml"]
|
|
|
|
# database
|
|
mysql = ["sqlx-macros-core/mysql"]
|
|
postgres = ["sqlx-macros-core/postgres"]
|
|
sqlite = ["sqlx-macros-core/sqlite"]
|
|
sqlite-unbundled = ["sqlx-macros-core/sqlite-unbundled"]
|
|
|
|
sqlite-load-extension = ["sqlx-macros-core/sqlite-load-extension"]
|
|
|
|
# type
|
|
bigdecimal = ["sqlx-macros-core/bigdecimal"]
|
|
bit-vec = ["sqlx-macros-core/bit-vec"]
|
|
chrono = ["sqlx-macros-core/chrono"]
|
|
ipnet = ["sqlx-macros-core/ipnet"]
|
|
ipnetwork = ["sqlx-macros-core/ipnetwork"]
|
|
mac_address = ["sqlx-macros-core/mac_address"]
|
|
rust_decimal = ["sqlx-macros-core/rust_decimal"]
|
|
time = ["sqlx-macros-core/time"]
|
|
uuid = ["sqlx-macros-core/uuid"]
|
|
json = ["sqlx-macros-core/json"]
|
|
|
|
[dependencies]
|
|
sqlx-core = { workspace = true, features = ["any"] }
|
|
sqlx-macros-core = { workspace = true }
|
|
|
|
proc-macro2 = { version = "1.0.36", default-features = false }
|
|
syn = { version = "2.0.52", default-features = false, features = ["parsing", "proc-macro"] }
|
|
quote = { version = "1.0.26", default-features = false }
|
|
|
|
[lints]
|
|
workspace = true
|