Skip to content

Commit

Permalink
Conditionally enable tokio_executor feature in testkit
Browse files Browse the repository at this point in the history
  • Loading branch information
mankinskin committed Jan 10, 2021
1 parent df88252 commit 5bbe423
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
7 changes: 5 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ keywords = ["actors", "actor-model", "async", "cqrs", "event_sourcing"]
travis-ci = { repository = "riker-rs/riker" }

[features]
tokio_executor = ["tokio"]
tokio_executor = ["tokio", "riker-testkit/tokio_executor"]

[dependencies]
riker-macros = { path = "riker-macros", version = "0.2.0" }
Expand All @@ -35,4 +35,7 @@ tokio = { version = "^0.2", features = ["rt-threaded", "macros"], optional = tru

[dev-dependencies]
log = "0.4"
riker-testkit = { path = "../riker-testkit", features = ["tokio_executor"] }

[dev-dependencies.riker-testkit]
git = "https://github.com/mankinskin/riker-testkit"
branch = "tokio_executor"
3 changes: 0 additions & 3 deletions tests/actors.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
#[macro_use]
extern crate riker_testkit;

use riker::actors::*;

use riker_testkit::probe::channel::{probe, ChannelProbe};
Expand Down

0 comments on commit 5bbe423

Please sign in to comment.