From 0148930a76d322e667d654ec63ee8df6fba72393 Mon Sep 17 00:00:00 2001 From: Liu Jiang Date: Mon, 20 Dec 2021 10:03:46 +0800 Subject: [PATCH] bindings: configure features for doc.rs Configure features to generate documentation for doc.rs. Signed-off-by: Liu Jiang --- crates/vfio-bindings/Cargo.toml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/crates/vfio-bindings/Cargo.toml b/crates/vfio-bindings/Cargo.toml index d054d9b..8de829d 100755 --- a/crates/vfio-bindings/Cargo.toml +++ b/crates/vfio-bindings/Cargo.toml @@ -9,6 +9,9 @@ readme = "README.md" edition = "2018" keywords = ["vfio"] +[package.metadata.docs.rs] +features = ["vfio-v5_0_0", "fam-wrappers"] + [features] vfio-v5_0_0 = [] fam-wrappers = ["vmm-sys-util"]