Releases: stackabletech/tokio-zookeeper
Releases · stackabletech/tokio-zookeeper
0.3.0
0.2.1
0.2.0
Highlights
tokio-zookeeper now uses futures 0.3 and Tokio 1, which means that it is
now compatible with Rust's async/await syntax!
Migration from 0.1.x
- Upgrade the rest of your app to Tokio 1.x (you can use a compatibility wrapper for code such as tokio-zk that still
uses Tokio 0.1, see
Cargo.toml
and
WithTokio01Executor
). - Upgrade tokio-zookeeper to v0.2.
- Migrate async calls that thread the
ZooKeeper
instance to instead borrow it (for example,
zk.exists(path).and_then(|(zk, stat)| /* do stuff */);
becomes
let stat = zk.exists(path).await?;
). - Remove Tokio 0.1 and the compatibility wrapper if they are no longer required.
Added
- Support all-or-nothing multi-operations (#15).
Changed
- [BREAKING] Updated to futures 0.3 and Tokio 1, which are compatible with async/await (#19).