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: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 6 additions & 1 deletion blktrace-rs/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "blktrace-rs"
version = "0.1.0"
version = "0.1.1"
edition.workspace = true
authors.workspace = true
rust-version = "1.85"
Expand All @@ -10,6 +10,11 @@ description = "Capture and parse Linux block-layer I/O traces via kernel ioctls,
keywords = ["blktrace", "block-io", "tracing", "linux"]
categories = ["os::linux-apis"]

# docs.rs builds with default features, which excludes the async API;
# build the documentation with everything enabled instead.
[package.metadata.docs.rs]
all-features = true

[lib]
name = "blktrace_rs"

Expand Down
4 changes: 3 additions & 1 deletion blktrace-rs/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,9 @@
//! async callers never stall their executor.

#![warn(missing_docs)]
#![cfg_attr(docsrs, feature(doc_auto_cfg))]
// On docs.rs builds this shows feature-gated items (the async API) with
// cfg badges instead of hiding them.
#![cfg_attr(docsrs, feature(doc_cfg))]

#[cfg(not(target_os = "linux"))]
compile_error!("blktrace-rs only supports Linux");
Expand Down
Loading