Skip to content

Commit a8cdd4b

Browse files
committed
Bump version to 0.8.0
1 parent 9baa927 commit a8cdd4b

File tree

3 files changed

+38
-2
lines changed

3 files changed

+38
-2
lines changed

CHANGELOG.md

+12
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,18 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
66
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

8+
## [0.8.0] - 2024-05-07
9+
### Added
10+
- feat: support SASL authentication ([#46](https://github.com/kezhuw/zookeeper-client-rust/pull/46))
11+
12+
### Fixed
13+
- fix: AuthFailed not reported eagerly in Connector::connect ([#45](https://github.com/kezhuw/zookeeper-client-rust/pull/45))
14+
15+
### Changed
16+
- refactor: toggle TLS support with feature gate ([#47](https://github.com/kezhuw/zookeeper-client-rust/pull/47))
17+
- refactor!: refactor OtherError to CustomError ([b71aa2c](https://github.com/kezhuw/zookeeper-client-rust/commit/b71aa2c4738d436ada38549fdd6b1083b9eb6d5a))
18+
- docs: state that no session disconnected event before closed ([#48](https://github.com/kezhuw/zookeeper-client-rust/pull/48))
19+
820
## [0.7.1] - 2024-04-01
921
### Changed
1022
- fix: can not connect to ZooKeeper 3.3 ([c031d8e](https://github.com/kezhuw/zookeeper-client-rust/commit/c031d8ee7663a4eecdbba059ae59e9d5f72d1243))

Cargo.toml

+5-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "zookeeper-client"
3-
version = "0.7.1"
3+
version = "0.8.0"
44
edition = "2021"
55
authors = ["Kezhu Wang <[email protected]>"]
66
description = "ZooKeeper async client"
@@ -10,7 +10,7 @@ documentation = "https://docs.rs/zookeeper-client/"
1010
license = "MIT"
1111
keywords = ["ZooKeeper"]
1212
categories = ["api-bindings"]
13-
rust-version = "1.65"
13+
rust-version = "1.76"
1414

1515
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
1616

@@ -62,3 +62,6 @@ serial_test = "3.0.0"
6262

6363
[package.metadata.cargo-all-features]
6464
skip_optional_dependencies = true
65+
66+
[package.metadata.docs.rs]
67+
all-features = true

src/lib.rs

+21
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,24 @@
1+
//! `zookeeper-client` is an async Rust client library for Apache ZooKeeper.
2+
//!
3+
//! ## Opinionated API
4+
//! This library is written from scratch. Its API is pretty different from Java counterpart or even
5+
//! other Rust clients. Some of them are listed here for a glance.
6+
//!
7+
//! * No callbacks.
8+
//! * No catch-all watcher.
9+
//! * [StateWatcher] tracks session state updates.
10+
//! * [OneshotWatcher] tracks oneshot ZooKeeper node event.
11+
//! * [PersistentWatcher] tracks persistent and recursive persistent ZooKeeper node events.
12+
//! * No event type `XyzWatchRemoved` as Rust has [Drop].
13+
//! * Most data operations are ordered at future creation time but not polling time.
14+
//! * [Client::chroot] and [Client::clone] enable session sharing cross multiple different rooted clients.
15+
//!
16+
//! ## Feature flags
17+
//! * `tls`: Toggle TLS support.
18+
//! * `sasl`: Toggle SASL support.
19+
//! * `sasl-gssapi`: Toggle only GSSAPI SASL support. This relies on binding package `libgssapi-sys`.
20+
//! * `sasl-digest-md5`: Toggle only DIGEST-MD5 SASL support.
21+
122
mod acl;
223
mod chroot;
324
mod client;

0 commit comments

Comments
 (0)