Skip to content

blktrace-rs 0.1.1: fix the docs.rs build - #154

Merged
imlk0 merged 1 commit into
masterfrom
blktrace-rs-0.1.1
Oct 15, 2026
Merged

imlk0 merged 1 commit into
masterfrom
blktrace-rs-0.1.1

Conversation

@imlk0

@imlk0 imlk0 commented Oct 15, 2026

Copy link
Copy Markdown
Collaborator

What

Releases blktrace-rs 0.1.1 with the docs.rs build repaired.

The 0.1.0 docs.rs build failed with E0557: the nightly-only
doc_auto_cfg attribute used in lib.rs was removed from rustdoc and
merged into doc_cfg. This switches to doc_cfg, which compiles on
current nightly (verified locally by replicating the docs.rs invocation:
nightly rustdoc with --cfg docsrs and all features).

Also adds [package.metadata.docs.rs] all-features = true so the
documentation includes the async feature API (docs.rs otherwise builds
default features only, which hides monitor_async/shutdown_async),
and bumps the crate version to 0.1.1.

Merging this triggers the publish workflow: the version differs from the
published 0.1.0, so crates.io gets 0.1.1 automatically via trusted
publishing (requires the Trusted Publisher configuration on crates.io).

The docs.rs build of 0.1.0 failed because doc_auto_cfg was removed from nightly rustdoc and merged into doc_cfg. Switch to doc_cfg, build the documentation with all features enabled so the async API appears, and release 0.1.1.

Assisted-by: Claude:glm-5.3
Signed-off-by: Kun Lai <laikun@linux.alibaba.com>
@ostest-bot

Copy link
Copy Markdown

@imlk0 ,您好,您的请求已接收,请耐心等待结果。

@ostest-bot

Copy link
Copy Markdown

@imlk0 ,您好,未检测到有镜像需要构建,如需重新检测请评论 /start 。

@imlk0
imlk0 merged commit f2aa906 into master Oct 15, 2026
11 checks passed
@imlk0
imlk0 deleted the blktrace-rs-0.1.1 branch October 15, 2026 10:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants