From 7df8621ea9cc8d3bc2adf2e1425c588a52d80005 Mon Sep 17 00:00:00 2001 From: Brendan Abolivier Date: Thu, 23 Apr 2026 12:06:09 +0100 Subject: [PATCH] 1.1.0, and docs.rs improvements --- CHANGELOG.md | 10 ++++++++++ Cargo.lock | 2 +- Cargo.toml | 2 +- src/lib.rs | 4 ++++ 4 files changed, 16 insertions(+), 2 deletions(-) create mode 100644 CHANGELOG.md diff --git a/CHANGELOG.md b/CHANGELOG.md new file mode 100644 index 0000000..93ba1a8 --- /dev/null +++ b/CHANGELOG.md @@ -0,0 +1,10 @@ +# Changelog + +## 1.1.0 + +- Make `Line` thread-safe ([#7](https://github.com/thunderbird/operation-queue-rs/pull/7)) +- Add docs.rs attribute to generate target/feature mentions ([#8](https://github.com/thunderbird/operation-queue-rs/pull/8)) + +## 1.0.0 + +- Initial move of the operation queue code from the comm-central repository. diff --git a/Cargo.lock b/Cargo.lock index 6a8cae5..af58b08 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -169,7 +169,7 @@ checksum = "269bca4c2591a28585d6bf10d9ed0332b7d76900a1b02bec41bdc3a2cdcda107" [[package]] name = "operation-queue" -version = "1.0.0" +version = "1.1.0" dependencies = [ "async-channel", "async-lock", diff --git a/Cargo.toml b/Cargo.toml index 7afcb95..4b0e6bc 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "operation-queue" -version = "1.0.0" +version = "1.1.0" edition = "2024" description = "Helpers for synchronizing asynchronous protocol operations." categories = ["asynchronous"] diff --git a/src/lib.rs b/src/lib.rs index a26ecef..4c058a1 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -2,6 +2,10 @@ * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ +// Turn the nightly `doc_cfg` attribute on for docs.rs, so it mentions which +// types/modules are gated behind specific features. +#![cfg_attr(docsrs, feature(doc_cfg))] + //! This crate contains the queueing logic for asynchronous operations. //! //! It also contains helpers for synchronizing operations such as error handling