From c4939f3482aded08050424aea56205e9a17efff4 Mon Sep 17 00:00:00 2001 From: killzoner Date: Fri, 13 Feb 2026 20:44:52 +0100 Subject: [PATCH] fix: adjust docs after doc_auto_cfg removal --- CHANGELOG.md | 4 ++++ Cargo.lock | 2 +- Cargo.toml | 2 +- src/lib.rs | 2 +- 4 files changed, 7 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 6dc0183..ef645ba 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,10 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [0.2.2] - 2026-02-13 +### Fixed +- Fix doc_auto_cfg -> doc_cfg (feature merge in rust 1.92) + ## [0.2.1] - 2026-02-11 ### Changed - Add `heap_profile_diff` example diff --git a/Cargo.lock b/Cargo.lock index d24c888..7c73f55 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -969,7 +969,7 @@ dependencies = [ [[package]] name = "pprof_hyper_server" -version = "0.2.1" +version = "0.2.2" dependencies = [ "anyhow", "async-channel", diff --git a/Cargo.toml b/Cargo.toml index dfef8b6..3cec10a 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -3,7 +3,7 @@ authors = ["killzoner"] edition = "2024" name = "pprof_hyper_server" resolver = "3" -version = "0.2.1" +version = "0.2.2" description = "A minimal pprof server implementation using hyper without runtime dependency" documentation = "https://docs.rs/pprof_hyper_server" diff --git a/src/lib.rs b/src/lib.rs index c73bc07..8aa6bf9 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -1,5 +1,5 @@ #![doc = include_str!("../README.md")] -#![cfg_attr(docsrs, feature(doc_auto_cfg))] +#![cfg_attr(docsrs, feature(doc_cfg))] #![forbid(unsafe_code)] #![warn(missing_docs)] #![warn(clippy::print_stderr)]