Merge pull request #1 from secretkeysio/master

Bump sqlx & expose sqlx feature rustls flag.
This commit is contained in:
Diggory Blake 2021-04-29 13:02:30 +01:00 committed by GitHub
commit 5779244408
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -15,9 +15,8 @@ members = ["sqlxmq_macros", "sqlxmq_stress"]
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
sqlx = { version = "0.5.1", features = [
sqlx = { version = "0.5.2", features = [
"postgres",
"runtime-tokio-native-tls",
"chrono",
"uuid",
] }
@ -30,6 +29,11 @@ serde_json = "1.0.64"
serde = "1.0.124"
sqlxmq_macros = { version = "0.1", path = "sqlxmq_macros" }
[features]
default = ["runtime-tokio-native-tls"]
runtime-tokio-native-tls = ["sqlx/runtime-tokio-native-tls"]
runtime-tokio-rustls = ["sqlx/runtime-tokio-rustls"]
[dev-dependencies]
dotenv = "0.15.0"
pretty_env_logger = "0.4.0"