mirror of
https://github.com/launchbadge/sqlx.git
synced 2025-12-28 19:49:23 +00:00
40 lines
1.8 KiB
TOML
40 lines
1.8 KiB
TOML
[package]
|
|
name = "sqlx-rt"
|
|
version = "0.2.0"
|
|
repository = "https://github.com/launchbadge/sqlx"
|
|
license = "MIT OR Apache-2.0"
|
|
description = "Runtime abstraction used by SQLx, the Rust SQL toolkit. Not intended to be used directly."
|
|
edition = "2018"
|
|
authors = [
|
|
"Ryan Leckey <leckey.ryan@gmail.com>",
|
|
"Austin Bonander <austin.bonander@gmail.com>",
|
|
]
|
|
|
|
[features]
|
|
runtime-actix-native-tls = [ "_rt-actix", "_tls-native-tls", "tokio-native-tls" ]
|
|
runtime-async-std-native-tls = [ "_rt-async-std", "_tls-native-tls", "async-native-tls" ]
|
|
runtime-tokio-native-tls = [ "_rt-tokio", "_tls-native-tls", "tokio-native-tls" ]
|
|
|
|
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" ]
|
|
|
|
# Not used directly and not re-exported from sqlx
|
|
_rt-actix = [ "actix-rt", "actix-threadpool", "tokio", "once_cell" ]
|
|
_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.1.1", optional = true }
|
|
actix-rt = { version = "1.1.1", optional = true }
|
|
actix-threadpool = { version = "0.3.2", optional = true }
|
|
async-std = { version = "1.6.5", features = [ "unstable" ], optional = true }
|
|
tokio = { version = "0.2.21", optional = true, features = [ "blocking", "stream", "fs", "tcp", "uds", "macros", "rt-core", "rt-threaded", "time", "dns", "io-util" ] }
|
|
tokio-native-tls = { version = "0.1.0", optional = true }
|
|
tokio-rustls = { version = "0.14.0", optional = true }
|
|
native-tls = { version = "0.2.4", optional = true }
|
|
once_cell = { version = "1.4", features = ["std"], optional = true }
|