Skip to content

Commit

Permalink
bindings: configure features for doc.rs
Browse files Browse the repository at this point in the history
Configure features to generate documentation for doc.rs.

Signed-off-by: Liu Jiang <[email protected]>
  • Loading branch information
jiangliu committed Dec 20, 2021
1 parent a012b18 commit 0148930
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions crates/vfio-bindings/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
Expand Down

0 comments on commit 0148930

Please sign in to comment.