sqlx/sqlx-rt/Cargo.toml
Austin Bonander 568256b654 feat(macros): extend sqlx_macros::test to test cancellation
Signed-off-by: Austin Bonander <austin@launchbadge.com>
2020-10-27 01:24:31 -07:00

31 lines
1.3 KiB
TOML

[package]
name = "sqlx-rt"
version = "0.1.1"
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 = [ "actix-rt", "actix-threadpool", "tokio", "tokio-native-tls", "once_cell" ]
runtime-async-std = [ "async-std", "async-native-tls" ]
runtime-tokio = [ "tokio", "tokio-native-tls", "once_cell" ]
capture-awaits = ["backtrace", "futures"]
[dependencies]
async-native-tls = { version = "0.3.3", optional = true }
actix-rt = { version = "1.1.1", optional = true }
actix-threadpool = { version = "0.3.2", optional = true }
async-std = { version = "1.6.0", features = [ "unstable" ], optional = true }
backtrace = { version = "0.3.50", optional = true }
futures = { version = "0.3.5", 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 }
native-tls = "0.2.4"
once_cell = { version = "1.4", features = ["std"], optional = true }