diff --git a/Cargo.toml b/Cargo.toml index 192a123d..3ec77117 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -27,7 +27,7 @@ pin-project = "1.0.2" serde = "1" serde_json = "1" thiserror = "1.0.4" -tokio = { version = "1.0", features = ["io-util", "fs", "net", "time"] } +tokio = { version = "1.0", features = ["io-util", "fs", "net", "time", "rt"] } tokio-util = { version = "0.6.0", features = ["codec"] } tokio-native-tls = "0.3.0" twox-hash = "1" diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 5f5c037e..c4ac5387 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -33,6 +33,7 @@ jobs: condition: and(succeeded(), eq(variables['installRust.toolchain'], 'stable')) displayName: cargo fmt - bash: | + cargo +nightly build -Zfeatures=dev_dep SSL=false COMPRESS=false cargo test SSL=true COMPRESS=false cargo test SSL=false COMPRESS=true cargo test