diff --git a/Cargo.toml b/Cargo.toml
index e7be744e9..c04ff1152 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -49,9 +49,9 @@ tokio-proto = "0.1"
# h2 = { git = 'https://github.com/carllerche/h2', optional = true }
[dependencies.actix]
-version = "0.3"
+#version = "0.3"
#path = "../actix"
-#git = "https://github.com/actix/actix.git"
+git = "https://github.com/actix/actix.git"
default-features = false
features = []
diff --git a/src/context.rs b/src/context.rs
index a2d67227f..208852060 100644
--- a/src/context.rs
+++ b/src/context.rs
@@ -241,13 +241,14 @@ impl Stream for HttpContext where A: Actor + Route
}
}
-impl ToEnvelope for HttpContext
- where A: Actor> + Route + Handler,
- M: ResponseType + Send + 'static,
- M::Item: Send,
- M::Error: Send,
+impl ToEnvelope for HttpContext
+ where A: Actor> + Route,
{
- fn pack(msg: M, tx: Option>>) -> Envelope
+ fn pack(msg: M, tx: Option>>) -> Envelope
+ where A: Handler,
+ M: ResponseType + Send + 'static,
+ M::Item: Send,
+ M::Error: Send
{
RemoteEnvelope::new(msg, tx).into()
}