Replace doc_auto_cfg with doc_cfg

See https://github.com/rust-lang/rust/pull/138907
This commit is contained in:
Héctor Ramón Jiménez 2025-10-08 04:37:13 +02:00
parent 964a4707dc
commit a064241a6b
No known key found for this signature in database
GPG key ID: 7CC46565708259A7
9 changed files with 9 additions and 9 deletions

View file

@ -4,7 +4,7 @@
#![doc( #![doc(
html_logo_url = "https://raw.githubusercontent.com/iced-rs/iced/9ab6923e943f784985e9ef9ca28b10278297225d/docs/logo.svg" html_logo_url = "https://raw.githubusercontent.com/iced-rs/iced/9ab6923e943f784985e9ef9ca28b10278297225d/docs/logo.svg"
)] )]
#![cfg_attr(docsrs, feature(doc_auto_cfg))] #![cfg_attr(docsrs, feature(doc_cfg))]
pub use futures; pub use futures;
pub use iced_core as core; pub use iced_core as core;

View file

@ -7,7 +7,7 @@
#![doc( #![doc(
html_logo_url = "https://raw.githubusercontent.com/iced-rs/iced/9ab6923e943f784985e9ef9ca28b10278297225d/docs/logo.svg" html_logo_url = "https://raw.githubusercontent.com/iced-rs/iced/9ab6923e943f784985e9ef9ca28b10278297225d/docs/logo.svg"
)] )]
#![cfg_attr(docsrs, feature(doc_auto_cfg))] #![cfg_attr(docsrs, feature(doc_cfg))]
mod antialiasing; mod antialiasing;
mod settings; mod settings;
mod viewport; mod viewport;

View file

@ -1,5 +1,6 @@
//! The official renderer for iced. //! The official renderer for iced.
#![cfg_attr(docsrs, feature(doc_auto_cfg))] #![cfg_attr(docsrs, feature(doc_cfg))]
#[cfg(feature = "wgpu")] #[cfg(feature = "wgpu")]
pub use iced_wgpu as wgpu; pub use iced_wgpu as wgpu;

View file

@ -8,7 +8,7 @@
#![doc( #![doc(
html_logo_url = "https://raw.githubusercontent.com/iced-rs/iced/9ab6923e943f784985e9ef9ca28b10278297225d/docs/logo.svg" html_logo_url = "https://raw.githubusercontent.com/iced-rs/iced/9ab6923e943f784985e9ef9ca28b10278297225d/docs/logo.svg"
)] )]
#![cfg_attr(docsrs, feature(doc_auto_cfg))] #![cfg_attr(docsrs, feature(doc_cfg))]
pub mod clipboard; pub mod clipboard;
pub mod font; pub mod font;
pub mod keyboard; pub mod keyboard;

View file

@ -473,7 +473,6 @@
#![doc( #![doc(
html_logo_url = "https://raw.githubusercontent.com/iced-rs/iced/bdf0430880f5c29443f5f0a0ae4895866dfef4c6/docs/logo.svg" html_logo_url = "https://raw.githubusercontent.com/iced-rs/iced/bdf0430880f5c29443f5f0a0ae4895866dfef4c6/docs/logo.svg"
)] )]
#![cfg_attr(docsrs, feature(doc_auto_cfg))]
#![cfg_attr(docsrs, feature(doc_cfg))] #![cfg_attr(docsrs, feature(doc_cfg))]
use iced_widget::graphics; use iced_widget::graphics;
use iced_widget::renderer; use iced_widget::renderer;

View file

@ -1,5 +1,5 @@
#![allow(missing_docs)] #![allow(missing_docs)]
#![cfg_attr(docsrs, feature(doc_auto_cfg))] #![cfg_attr(docsrs, feature(doc_cfg))]
pub mod window; pub mod window;
mod engine; mod engine;

View file

@ -20,7 +20,7 @@
#![doc( #![doc(
html_logo_url = "https://raw.githubusercontent.com/iced-rs/iced/9ab6923e943f784985e9ef9ca28b10278297225d/docs/logo.svg" html_logo_url = "https://raw.githubusercontent.com/iced-rs/iced/9ab6923e943f784985e9ef9ca28b10278297225d/docs/logo.svg"
)] )]
#![cfg_attr(docsrs, feature(doc_auto_cfg))] #![cfg_attr(docsrs, feature(doc_cfg))]
#![allow(missing_docs)] #![allow(missing_docs)]
pub mod layer; pub mod layer;
pub mod primitive; pub mod primitive;

View file

@ -2,7 +2,7 @@
#![doc( #![doc(
html_logo_url = "https://raw.githubusercontent.com/iced-rs/iced/9ab6923e943f784985e9ef9ca28b10278297225d/docs/logo.svg" html_logo_url = "https://raw.githubusercontent.com/iced-rs/iced/9ab6923e943f784985e9ef9ca28b10278297225d/docs/logo.svg"
)] )]
#![cfg_attr(docsrs, feature(doc_auto_cfg))] #![cfg_attr(docsrs, feature(doc_cfg))]
pub use iced_renderer as renderer; pub use iced_renderer as renderer;
pub use iced_renderer::core; pub use iced_renderer::core;
pub use iced_renderer::graphics; pub use iced_renderer::graphics;

View file

@ -17,7 +17,7 @@
#![doc( #![doc(
html_logo_url = "https://raw.githubusercontent.com/iced-rs/iced/9ab6923e943f784985e9ef9ca28b10278297225d/docs/logo.svg" html_logo_url = "https://raw.githubusercontent.com/iced-rs/iced/9ab6923e943f784985e9ef9ca28b10278297225d/docs/logo.svg"
)] )]
#![cfg_attr(docsrs, feature(doc_auto_cfg))] #![cfg_attr(docsrs, feature(doc_cfg))]
pub use iced_program as program; pub use iced_program as program;
pub use program::core; pub use program::core;
pub use program::graphics; pub use program::graphics;