rt: Disable macros in actix and tokio runtimes

This commit is contained in:
Jonas Platte 2021-01-14 18:21:13 +01:00 committed by Ryan Leckey
parent d7761c74fa
commit 227ed73315
No known key found for this signature in database
GPG Key ID: F8AA68C235AB08C9
2 changed files with 6 additions and 13 deletions

11
Cargo.lock generated
View File

@ -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",
]

View File

@ -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