Skip to content
This repository has been archived by the owner on Mar 10, 2023. It is now read-only.

Commit

Permalink
fix redundant extern crates
Browse files Browse the repository at this point in the history
  • Loading branch information
poga committed Jul 25, 2018
1 parent 2adea56 commit df68124
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 8 deletions.
6 changes: 1 addition & 5 deletions src/actor.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
extern crate actix;
extern crate rlua;
extern crate tokio;

use actix::prelude::*;
use rlua::Error as LuaError;
use rlua::{FromLua, Function, Lua, Value};
Expand Down Expand Up @@ -62,7 +58,7 @@ impl Handler<LuaMessage> for LuaActor {
#[cfg(test)]
mod tests {
use super::*;
use actor::tokio::prelude::Future;
use tokio::prelude::Future;

#[test]
fn lua_actor() {
Expand Down
1 change: 1 addition & 0 deletions src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
extern crate actix;
extern crate rlua;
extern crate tokio;

pub mod actor;
pub mod message;
3 changes: 0 additions & 3 deletions src/message.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
extern crate actix;
extern crate rlua;

use actix::dev::{MessageResponse, ResponseChannel};
use actix::prelude::*;
use rlua::Result as LuaResult;
Expand Down

0 comments on commit df68124

Please sign in to comment.