mirror of
https://github.com/launchbadge/sqlx.git
synced 2026-03-19 08:39:44 +00:00
refactor: make Config always compiled
simplifies usage while still making parsing optional for less generated code
This commit is contained in:
@@ -49,7 +49,8 @@ filetime = "0.2"
|
||||
backoff = { version = "0.4.0", features = ["futures", "tokio"] }
|
||||
|
||||
[features]
|
||||
default = ["postgres", "sqlite", "mysql", "native-tls", "completions"]
|
||||
default = ["postgres", "sqlite", "mysql", "native-tls", "completions", "sqlx-toml"]
|
||||
|
||||
rustls = ["sqlx/runtime-tokio-rustls"]
|
||||
native-tls = ["sqlx/runtime-tokio-native-tls"]
|
||||
|
||||
@@ -64,6 +65,8 @@ openssl-vendored = ["openssl/vendored"]
|
||||
|
||||
completions = ["dep:clap_complete"]
|
||||
|
||||
sqlx-toml = ["sqlx/sqlx-toml"]
|
||||
|
||||
[dev-dependencies]
|
||||
assert_cmd = "2.0.11"
|
||||
tempfile = "3.10.1"
|
||||
|
||||
Reference in New Issue
Block a user