From 70e1f7a1c7235a0753cbc269f484a4fcaa6b8a25 Mon Sep 17 00:00:00 2001 From: Jonas Platte Date: Thu, 14 Jan 2021 18:25:28 +0100 Subject: [PATCH] rt: Normalize TOML array formatting --- sqlx-rt/Cargo.toml | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/sqlx-rt/Cargo.toml b/sqlx-rt/Cargo.toml index 8421611959..3d639b2dab 100644 --- a/sqlx-rt/Cargo.toml +++ b/sqlx-rt/Cargo.toml @@ -11,27 +11,27 @@ authors = [ ] [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-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" ] +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 = [ ] +_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.2.0", optional = true } actix-rt = { version = "=2.0.0-beta.2", default-features = false, optional = true } actix-threadpool = { version = "0.3.2", optional = true } -async-std = { version = "1.7.0", features = [ "unstable" ], optional = true } +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 }