From 361c6ac932fe988f4a5594e2cc7b72a4794535cd Mon Sep 17 00:00:00 2001 From: Kristof Mattei <864376+kristof-mattei@users.noreply.github.com> Date: Fri, 23 Jan 2026 23:34:48 -0700 Subject: [PATCH] fix: build rust docs for all features, so that we can see `TokioSocket` and others in docs.rs. --- Cargo.toml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Cargo.toml b/Cargo.toml index e887d9c..8bb3c57 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -10,6 +10,10 @@ readme = "README.md" repository = "https://github.com/rust-netlink/netlink-sys" description = "netlink sockets, with optional integration with tokio" +[package.metadata.docs.rs] +all-features = true +rustdoc-args = ["--generate-link-to-definition"] + [dependencies] bytes = "1.8" libc = "0.2.164"