mirror of
https://github.com/launchbadge/sqlx.git
synced 2025-12-30 05:11:13 +00:00
Setup features
This commit is contained in:
parent
36301f6698
commit
5295389fdf
@ -24,3 +24,12 @@ chrono = "0.4"
|
||||
anyhow = "1.0"
|
||||
url = { version = "2.1.1", default-features = false }
|
||||
async-trait = "0.1.30"
|
||||
|
||||
[features]
|
||||
default = [ "postgres", "sqlite" ]
|
||||
|
||||
|
||||
# database
|
||||
mysql = [ "sqlx/mysql" ]
|
||||
postgres = [ "sqlx/postgres" ]
|
||||
sqlite = [ "sqlx/sqlite" ]
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user