Skip to content

Commit

Permalink
Pin exactly futures-0.2.0-beta.
Browse files Browse the repository at this point in the history
Tokio does not support stable futures 2 yet
  • Loading branch information
Riley Trautman committed Apr 6, 2018
1 parent 8134a47 commit 26b30df
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 8 deletions.
10 changes: 5 additions & 5 deletions Cargo.toml
@@ -1,17 +1,17 @@
[package]
name = "tokio-zmq"
description = "Provides Futures abstractions for ZeroMQ on the Tokio event-loop"
version = "0.4.0-beta2"
version = "0.4.0-beta3"
license = "GPL-3.0"
authors = ["Riley Trautman <asonix.dev@gmail.com>"]
repository = "https://github.com/asonix/tokio-zmq"
readme = "README.md"
keywords = ["zmq", "zeromq", "futures", "tokio"]

[dependencies]
futures-core = "0.2.0-beta"
futures-sink = "0.2.0-beta"
futures-util = "0.2.0-beta"
futures-core = "=0.2.0-beta"
futures-sink = "=0.2.0-beta"
futures-util = "=0.2.0-beta"
log = "0.4"
mio = "0.6"
tokio-file-unix = "0.5"
Expand All @@ -29,7 +29,7 @@ features = [ "unstable-futures" ]

[dev-dependencies]
env_logger = "0.4"
futures-channel = "0.2.0-beta"
futures-channel = "=0.2.0-beta"

[dev-dependencies.tokio]
version = "0.1"
Expand Down
8 changes: 5 additions & 3 deletions README.md
Expand Up @@ -23,11 +23,13 @@ See the [examples folder](https://github.com/asonix/zmq-futures/tree/master/exam

### Getting Started

Add the following to your Cargo.toml
Add the following to your Cargo.toml (As of the futures 0.2.0 stable release, Tokio does not support
futures2. It does have support for futures 0.2.0-beta, so pinning that version of futures is
important)
```toml
zmq = "0.8"
tokio-zmq = "0.4.0-beta2"
futures = "0.2.0-beta"
tokio-zmq = "0.4.0-beta3"
futures = "=0.2.0-beta"
tokio = "0.1"
```

Expand Down

0 comments on commit 26b30df

Please sign in to comment.