diff --git a/crates/libs/sys/src/lib.rs b/crates/libs/sys/src/lib.rs index 43fa45204e..396dd24e1b 100644 --- a/crates/libs/sys/src/lib.rs +++ b/crates/libs/sys/src/lib.rs @@ -1,13 +1,9 @@ -#![cfg_attr( - all( - feature = "Win32_Security", - feature = "Win32_System_Threading", - feature = "Win32_UI_WindowsAndMessaging", - ), - doc = include_str!("../readme.md") -)] -// fallback if not all features are enabled -#![cfg_attr(not(all(feature = "Win32_Security", feature = "Win32_System_Threading", feature = "Win32_UI_WindowsAndMessaging",)), doc = "Learn more about Rust for Windows here: \n\n[Feature search](https://microsoft.github.io/windows-rs/features/#/0.58.0)")] +/*! +Learn more about Rust for Windows here: + +[Feature search](https://microsoft.github.io/windows-rs/features/#/0.59.0) +*/ + #![no_std] #![doc(html_no_source)] #![allow(non_snake_case, non_upper_case_globals, non_camel_case_types, missing_docs, clippy::all)] diff --git a/crates/libs/windows/src/lib.rs b/crates/libs/windows/src/lib.rs index 7127344120..01e207a06d 100644 --- a/crates/libs/windows/src/lib.rs +++ b/crates/libs/windows/src/lib.rs @@ -1,16 +1,11 @@ #![cfg_attr(docsrs, doc = "This is a stub. The latest API documentation is here: ")] #![cfg_attr(docsrs, doc = "")] -#![cfg_attr( - all( - feature = "Data_Xml_Dom", - feature = "Win32_Security", - feature = "Win32_System_Threading", - feature = "Win32_UI_WindowsAndMessaging", - ), - doc = include_str!("../readme.md"), -)] -// fallback if not all features are enabled -#![cfg_attr(all(not(all(feature = "Data_Xml_Dom", feature = "Win32_Security", feature = "Win32_System_Threading", feature = "Win32_UI_WindowsAndMessaging",)), not(docsrs),), doc = "Learn more about Rust for Windows here: \n\n[Feature search](https://microsoft.github.io/windows-rs/features/#/0.58.0)")] +/*! +Learn more about Rust for Windows here: + +[Feature search](https://microsoft.github.io/windows-rs/features/#/0.58.0) +*/ + #![cfg(windows)] #![doc(html_no_source)] #![allow(non_snake_case, clashing_extern_declarations, non_upper_case_globals, non_camel_case_types, missing_docs, clippy::all)]