Skip to content

Commit

Permalink
Use the reexported event-listener from event-listener-strategy (#91)
Browse files Browse the repository at this point in the history
  • Loading branch information
james7132 authored May 13, 2024
1 parent 5c4b849 commit 14571d8
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
5 changes: 2 additions & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,7 @@ exclude = ["/.*"]

[dependencies]
concurrent-queue = { version = "2", default-features = false }
event-listener = { version = "5.0.0", default-features = false }
event-listener-strategy = { version = "0.5.0", default-features = false }
event-listener-strategy = { version = "0.5.2", default-features = false }
futures-core = { version = "0.3.5", default-features = false }
pin-project-lite = "0.2.11"

Expand All @@ -30,4 +29,4 @@ wasm-bindgen-test = "0.3.37"

[features]
default = ["std"]
std = ["concurrent-queue/std", "event-listener/std", "event-listener-strategy/std"]
std = ["concurrent-queue/std", "event-listener-strategy/std"]
7 changes: 5 additions & 2 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,11 @@ use core::task::{Context, Poll};
use alloc::sync::Arc;

use concurrent_queue::{ConcurrentQueue, ForcePushError, PopError, PushError};
use event_listener::{Event, EventListener};
use event_listener_strategy::{easy_wrapper, EventListenerFuture, Strategy};
use event_listener_strategy::{
easy_wrapper,
event_listener::{Event, EventListener},
EventListenerFuture, Strategy,
};
use futures_core::ready;
use futures_core::stream::Stream;
use pin_project_lite::pin_project;
Expand Down

0 comments on commit 14571d8

Please sign in to comment.