From 75fe4cdddb7946440054da0c8e7cdd73828af3f9 Mon Sep 17 00:00:00 2001 From: Kevin Lewi Date: Thu, 30 Oct 2025 17:09:53 -0700 Subject: [PATCH] Fixing docs build + publishing 4.0.1 (#409) --- .github/workflows/main.yml | 16 ++++++++-------- CHANGELOG.md | 3 +++ Cargo.toml | 2 +- src/lib.rs | 2 +- 4 files changed, 13 insertions(+), 10 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index d91cbca..24dc55d 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -206,14 +206,6 @@ jobs: command: clippy args: --all-targets --features argon2,std,curve25519,ecdsa,ed25519 -- -D warnings - - name: Run cargo doc - uses: actions-rs/cargo@v1 - env: - RUSTDOCFLAGS: -D warnings - with: - command: doc - args: --no-deps --document-private-items --features argon2,std,curve25519,ecdsa,ed25519 - format: name: cargo fmt runs-on: ubuntu-latest @@ -235,6 +227,14 @@ jobs: command: fmt args: --all -- --check + - name: Run cargo doc + uses: actions-rs/cargo@v1 + env: + RUSTDOCFLAGS: -D warnings + with: + command: doc + args: --no-deps --document-private-items --features argon2,std,curve25519,ecdsa,ed25519 + taplo: name: Taplo runs-on: ubuntu-latest diff --git a/CHANGELOG.md b/CHANGELOG.md index 320ce86..786fb6c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,8 @@ # Changelog +## 4.0.1 (October 30, 2025) +* Fixing docs building issue + ## 4.0.0 (October 23, 2025) * Increased MSRV to 1.83 * Synced implementation with RFC 9807 (no core protocol changes) diff --git a/Cargo.toml b/Cargo.toml index ec27bcc..7c75458 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -10,7 +10,7 @@ name = "opaque-ke" readme = "README.md" repository = "https://github.com/facebook/opaque-ke" rust-version = "1.85" -version = "4.0.0" +version = "4.0.1" [features] argon2 = ["dep:argon2"] diff --git a/src/lib.rs b/src/lib.rs index 5641a76..96fb441 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -1318,7 +1318,7 @@ //! [curve25519-dalek]: https://docs.rs/curve25519-dalek/4/curve25519_dalek/index.html#backends #![no_std] -#![cfg_attr(docsrs, feature(doc_auto_cfg))] +#![cfg_attr(docsrs, feature(doc_cfg))] #![cfg_attr(not(test), deny(unsafe_code))] #![warn(clippy::cargo, clippy::doc_markdown, missing_docs, rustdoc::all)] #![cfg_attr(not(test), warn(unused_crate_dependencies))]