diff --git a/Cargo.lock b/Cargo.lock index 25d2b56a..b9e4aa6f 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1,22 +1,11 @@ # This file is automatically @generated by Cargo. # It is not intended for manual editing. -[[package]] -name = "actix-macros" -version = "0.2.0-beta.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "32d550809c1471a3ed937cb2afefd7cba179a6ac4a0cb46361b3541bfcad7084" -dependencies = [ - "quote", - "syn", -] - [[package]] name = "actix-rt" version = "2.0.0-beta.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ac24f3f660d4c394cc6d24272e526083c257d6045d3be76a9d0a76be5cb56515" dependencies = [ - "actix-macros", "tokio", ] diff --git a/sqlx-rt/Cargo.toml b/sqlx-rt/Cargo.toml index b54a8da2..84216119 100644 --- a/sqlx-rt/Cargo.toml +++ b/sqlx-rt/Cargo.toml @@ -29,11 +29,15 @@ _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", 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 } -tokio = { version = "1.0.1", optional = true, features = [ "fs", "net", "macros", "rt", "rt-multi-thread", "time", "io-util" ] } 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 } 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