sqlx/sqlx-rt/Cargo.toml

47 lines
1.7 KiB
TOML
Raw Normal View History

[package]
name = "sqlx-rt"
2021-05-24 16:34:34 +00:00
version = "0.5.5"
repository = "https://github.com/launchbadge/sqlx"
license = "MIT OR Apache-2.0"
2020-07-27 06:59:58 +00:00
description = "Runtime abstraction used by SQLx, the Rust SQL toolkit. Not intended to be used directly."
edition = "2018"
2020-07-27 06:59:58 +00:00
authors = [
"Ryan Leckey <leckey.ryan@gmail.com>",
"Austin Bonander <austin.bonander@gmail.com>",
]
[features]
2021-01-14 17:25:28 +00:00
runtime-actix-native-tls = ["_rt-actix", "_tls-native-tls", "tokio-native-tls"]
2021-04-16 01:38:50 +00:00
runtime-async-std-native-tls = [
"_rt-async-std",
"_tls-native-tls",
"async-native-tls",
]
2021-01-14 17:25:28 +00:00
runtime-tokio-native-tls = ["_rt-tokio", "_tls-native-tls", "tokio-native-tls"]
2021-01-14 17:25:28 +00:00
runtime-actix-rustls = ["_rt-actix", "_tls-rustls", "tokio-rustls"]
runtime-async-std-rustls = ["_rt-async-std", "_tls-rustls", "async-rustls"]
runtime-tokio-rustls = ["_rt-tokio", "_tls-rustls", "tokio-rustls"]
2020-10-20 10:21:01 +00:00
# Not used directly and not re-exported from sqlx
2021-02-01 09:14:09 +00:00
_rt-actix = ["actix-rt", "tokio", "once_cell"]
2021-01-14 17:25:28 +00:00
_rt-async-std = ["async-std"]
_rt-tokio = ["tokio", "once_cell"]
_tls-native-tls = ["native-tls"]
_tls-rustls = []
[dependencies]
async-native-tls = { version = "0.3.3", optional = true }
async-rustls = { version = "0.2.0", optional = true }
2021-02-01 09:14:09 +00:00
actix-rt = { version = "2.0.0", default-features = false, optional = true }
2021-01-14 17:25:28 +00:00
async-std = { version = "1.7.0", features = ["unstable"], optional = true }
tokio-native-tls = { version = "0.3.0", optional = true }
tokio-rustls = { version = "0.22.0", optional = true }
native-tls = { version = "0.2.4", optional = true }
2020-07-27 06:59:58 +00:00
once_cell = { version = "1.4", features = ["std"], optional = true }
[dependencies.tokio]
version = "1.0.1"
features = ["fs", "net", "rt", "rt-multi-thread", "time", "io-util"]
optional = true