Registry / networking / zookeeper-client

zookeeper-client

JSON →
library0.11.1rscratesunverified

An async ZooKeeper client for Rust.

# Cargo.toml [dependencies] zookeeper-client = "0.11.1"
INSTALL
IMPORT
SIG · ZOOKEEPER-CLIENT
Z
zookeeper-client
networkingrustv0.11.1
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

ZooKeeper
✓ use zookeeper_client::ZooKeeper;

Connects to a ZooKeeper server asynchronously.

use zookeeper_client::ZooKeeper; #[tokio::main] async fn main() -> Result<(), Box<dyn std::error::Error>> { let zk = ZooKeeper::connect("127.0.0.1:2181").await?; Ok(()) }
Debug
Known issues
gotchaRequires an async runtime like Tokio.
fix
Add tokio as a dependency and use #[tokio::main] or similar.
affects: >=0.11.0
Upgrade
Version history
0.11.1latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
37 hits · last 30 days
node
32
Resources
zookeeper-client — cargo add zookeeper-client · libregistry