Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "async-memcached"
version = "0.8.1"
version = "0.9.0"
authors = ["Toby Lawrence <toby@nuclearfurnace.com>"]
edition = "2018"
readme = "README.md"
Expand Down
26 changes: 13 additions & 13 deletions src/proto/meta_protocol.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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 <key> <meta_flags>*\r\n
/// `ma <key> <meta_flags>*\r\n`
///
/// - <key> is the key string, with a maximum length of 250 bytes.
/// - `<key>` is the key string, with a maximum length of 250 bytes.
///
/// - <opaque> is an optional slice of string references with a maximum length of 32 bytes.
/// - `<opaque>` is an optional slice of string references with a maximum length of 32 bytes.
///
/// - <delta> is an optional u64 value for the decrement delta.
/// The default behaviour is to decrement with a delta of 1.
/// - `<delta>` is an optional u64 value for the increment delta.
/// The default behaviour is to increment with a delta of 1.
///
/// - <is_quiet> is a boolean value indicating whether to use quiet mode.
/// - `<is_quiet>` 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.
///
/// - <meta_flags> is an optional slice of string references for additional meta flags.
/// - `<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.
Expand All @@ -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 <key> MD <meta_flags>*\r\n
/// `ma <key> MD <meta_flags>*\r\n`
///
/// - <key> is the key string, with a maximum length of 250 bytes.
/// - `<key>` is the key string, with a maximum length of 250 bytes.
///
/// - <opaque> is an optional slice of string references with a maximum length of 32 bytes.
/// - `<opaque>` is an optional slice of string references with a maximum length of 32 bytes.
///
/// - <delta> is an optional u64 value for the decrement delta.
/// - `<delta>` is an optional u64 value for the decrement delta.
/// The default behaviour is to decrement with a delta of 1.
///
/// - <is_quiet> is a boolean value indicating whether to use quiet mode.
/// - `<is_quiet>` 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.
///
/// - <meta_flags> is an optional slice of string references for additional meta flags.
/// - `<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.
Expand Down
Loading