Skip to content

Commit

Permalink
doc feature
Browse files Browse the repository at this point in the history
  • Loading branch information
kennykerr committed Oct 3, 2023
1 parent ba72e60 commit af72456
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions crates/libs/sys/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ path = "../targets"

[features]
default = []
doc = []
# generated features
Wdk = []
Wdk_Foundation = ["Wdk"]
Expand Down
1 change: 1 addition & 0 deletions crates/libs/sys/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ Learn more about Rust for Windows here: <https://github.com/microsoft/windows-rs
#![no_std]
#![doc(html_no_source)]
#![allow(non_snake_case, non_upper_case_globals, non_camel_case_types, clippy::all)]
#![cfg_attr(not(feature = "doc"), doc(hidden))]

extern crate self as windows_sys;
mod Windows;
Expand Down
1 change: 1 addition & 0 deletions crates/libs/windows/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ windows-interface = { path = "../interface", version = "0.52.0", optional = tru

[features]
default = []
doc = []
deprecated = []
implement = ["windows-implement", "windows-interface", "windows-core/implement"]
# generated features
Expand Down
1 change: 1 addition & 0 deletions crates/libs/windows/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ Learn more about Rust for Windows here: <https://github.com/microsoft/windows-rs

#![doc(html_no_source)]
#![allow(non_snake_case, clashing_extern_declarations, non_upper_case_globals, non_camel_case_types, clippy::all)]
#![cfg_attr(not(feature = "doc"), doc(hidden))]

extern crate self as windows;
pub use Windows::*;
Expand Down

0 comments on commit af72456

Please sign in to comment.