Bump sqlx & expose feature rustls flag.

This commit is contained in:
Ryan McGrath 2021-04-28 17:56:44 -07:00
parent 326843db94
commit a66204a58b
No known key found for this signature in database
GPG key ID: DA6CBD9233593DEA

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