From d7c89553b244b9654bc7e7dff7e089bf7b7a1c0f Mon Sep 17 00:00:00 2001 From: Mark Rattle Date: Mon, 19 Oct 2026 15:06:47 -0400 Subject: [PATCH] prep v0.9.0 release --- .github/workflows/ci.yml | 2 ++ CHANGELOG.md | 2 ++ Cargo.toml | 2 +- src/proto/meta_protocol.rs | 26 +++++++++++++------------- 4 files changed, 18 insertions(+), 14 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 9e8f2ca..726fb63 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -25,6 +25,8 @@ jobs: run: cargo fmt --check - name: Run clippy on all targets run: cargo clippy --all-targets --all-features -- -D warnings + - name: Build docs with rustdoc warnings denied + run: RUSTDOCFLAGS="-D warnings" cargo doc --no-deps --all-features test: runs-on: ubuntu-24.04 timeout-minutes: 15 diff --git a/CHANGELOG.md b/CHANGELOG.md index e58d0d8..b357784 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -10,6 +10,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] - ReleaseDate +## [0.9.0] - 2026-10-19 + ### Added - Added `Client::is_closed` so callers (for example a connection pool's `has_broken` check) can discard a connection closed by an incomplete operation. diff --git a/Cargo.toml b/Cargo.toml index fd133a7..fbca6ec 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "async-memcached" -version = "0.8.1" +version = "0.9.0" authors = ["Toby Lawrence "] edition = "2018" readme = "README.md" diff --git a/src/proto/meta_protocol.rs b/src/proto/meta_protocol.rs index 5fbfae9..edd07e2 100644 --- a/src/proto/meta_protocol.rs +++ b/src/proto/meta_protocol.rs @@ -109,20 +109,20 @@ pub trait MetaProtocol { /// If data is requested back via meta flags then a `MetaValue` is returned, otherwise `None`. /// /// Command format: - /// ma *\r\n + /// `ma *\r\n` /// - /// - is the key string, with a maximum length of 250 bytes. + /// - `` is the key string, with a maximum length of 250 bytes. /// - /// - is an optional slice of string references with a maximum length of 32 bytes. + /// - `` is an optional slice of string references with a maximum length of 32 bytes. /// - /// - is an optional u64 value for the decrement delta. - /// The default behaviour is to decrement with a delta of 1. + /// - `` is an optional u64 value for the increment delta. + /// The default behaviour is to increment with a delta of 1. /// - /// - is a boolean value indicating whether to use quiet mode. + /// - `` is a boolean value indicating whether to use quiet mode. /// quiet mode will append a no-op command to the request ("mn\r\n") so that the client /// can proceed properly in the event of a cache miss. /// - /// - is an optional slice of string references for additional meta flags. + /// - `` is an optional slice of string references for additional meta flags. /// Meta flags may have associated tokens after the initial character, e.g "N123" /// Do not include "M", "D", "O" or "q" flags as additional meta flags, they will be ignored. /// Instead, use the specified parameters. @@ -141,20 +141,20 @@ pub trait MetaProtocol { /// If data is requested back via meta flags then a `MetaValue` is returned, otherwise `None`. /// /// Command format: - /// ma MD *\r\n + /// `ma MD *\r\n` /// - /// - is the key string, with a maximum length of 250 bytes. + /// - `` is the key string, with a maximum length of 250 bytes. /// - /// - is an optional slice of string references with a maximum length of 32 bytes. + /// - `` is an optional slice of string references with a maximum length of 32 bytes. /// - /// - is an optional u64 value for the decrement delta. + /// - `` is an optional u64 value for the decrement delta. /// The default behaviour is to decrement with a delta of 1. /// - /// - is a boolean value indicating whether to use quiet mode. + /// - `` is a boolean value indicating whether to use quiet mode. /// quiet mode will append a no-op command to the request ("mn\r\n") so that the client /// can proceed properly in the event of a cache miss. /// - /// - is an optional slice of string references for additional meta flags. + /// - `` is an optional slice of string references for additional meta flags. /// Meta flags may have associated tokens after the initial character, e.g "N123" /// Do not include "M", "D", "O" or "q" flags as additional meta flags, they will be ignored. /// Instead, use the specified parameters.