chore(sql): Refine features for sql plugin (#660)

This makes it possible to use the sqlite feature without ring for windows-aarch64 support until all dependencies update to ring 0.17
pull/651/head
Pylogmon 2 years ago committed by GitHub
parent 9b20f28d74
commit 77b81af36c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -17,11 +17,11 @@ tauri.workspace = true
log.workspace = true
thiserror.workspace = true
futures-core = "0.3"
sqlx = { version = "0.7", features = ["runtime-tokio-rustls", "json", "time"] }
sqlx = { version = "0.7", features = ["json", "time"] }
time = "0.3"
tokio = { version = "1", features = ["sync"] }
[features]
sqlite = ["sqlx/sqlite"]
mysql = ["sqlx/mysql"]
postgres = ["sqlx/postgres"]
sqlite = ["sqlx/sqlite", "sqlx/runtime-tokio"]
mysql = ["sqlx/mysql", "sqlx/runtime-tokio-rustls"]
postgres = ["sqlx/postgres", "sqlx/runtime-tokio-rustls"]

Loading…
Cancel
Save