From 1d1f65615d9e7d8e2a7751a12207f28a3e03f284 Mon Sep 17 00:00:00 2001 From: "zhongyang.wu" Date: Sun, 29 Nov 2020 17:26:50 -0500 Subject: [PATCH] fix: fix msrv --- .github/workflows/ci.yml | 2 +- opentelemetry/Cargo.toml | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index d9c697a688..1321129e54 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -52,7 +52,7 @@ jobs: override: true - name: Run tests run: cargo --version && - cargo test --verbose --manifest-path=opentelemetry/Cargo.toml --features trace,metrics,serialize,tokio,serde,http,tonic,reqwest && + cargo test --verbose --manifest-path=opentelemetry/Cargo.toml --features trace,metrics,serialize,tokio,async-std,serde,http,tonic,reqwest && cargo test --manifest-path=opentelemetry-jaeger/Cargo.toml && cargo test --manifest-path=opentelemetry-zipkin/Cargo.toml meta: diff --git a/opentelemetry/Cargo.toml b/opentelemetry/Cargo.toml index 9cafb15292..3ae84a908b 100644 --- a/opentelemetry/Cargo.toml +++ b/opentelemetry/Cargo.toml @@ -22,6 +22,7 @@ rustdoc-args = ["--cfg", "docsrs"] [dependencies] async-std = { version = "1.6", features = ["unstable"], default-features = false, optional = true } +async-io = { version = "~1.2.0", optional = true } async-trait = { version = "0.1", optional = true } bincode = { version = "1.2", optional = true } dashmap = { version = "4.0.0-rc6", optional = true }