Skip to content

Commit

Permalink
fixup! Reduce dependencies on futures
Browse files Browse the repository at this point in the history
  • Loading branch information
jwilm committed May 5, 2022
1 parent b17177e commit 8026e0e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion opentelemetry-sdk/Cargo.toml
Expand Up @@ -11,7 +11,7 @@ dashmap = { version = "4.0.1", optional = true }
fnv = { version = "1.0", optional = true }
futures-channel = "0.3"
futures-executor = "0.3"
futures-util = { version = "0.3", default-features = false, features = ["std", "sink"] }
futures-util = { version = "0.3", default-features = false, features = ["std", "sink", "async-await"] }
lazy_static = "1.4"
percent-encoding = { version = "2.0", optional = true }
pin-project = { version = "1.0.2", optional = true }
Expand Down
2 changes: 1 addition & 1 deletion opentelemetry-sdk/benches/trace.rs
Expand Up @@ -103,7 +103,7 @@ struct VoidExporter;

impl SpanExporter for VoidExporter {
fn export(&mut self, _spans: Vec<SpanData>) -> BoxFuture<'static, ExportResult> {
Box::pin(futures::future::ready(Ok(())))
Box::pin(futures_util::future::ready(Ok(())))
}
}

Expand Down

0 comments on commit 8026e0e

Please sign in to comment.