From 57b9fd55fac5c208dfb97cd182d7366071b8c1ca Mon Sep 17 00:00:00 2001 From: Bilal Elmoussaoui Date: Thu, 25 Apr 2024 14:05:38 +0200 Subject: [PATCH] Allow deprecated types --- gdk4-wayland/src/lib.rs | 1 + gdk4-win32/src/lib.rs | 1 + gdk4-x11/src/lib.rs | 1 + gdk4/src/lib.rs | 1 + gsk4/src/lib.rs | 1 + 5 files changed, 5 insertions(+) diff --git a/gdk4-wayland/src/lib.rs b/gdk4-wayland/src/lib.rs index 732fd2523ffa..e8fe60ab986e 100644 --- a/gdk4-wayland/src/lib.rs +++ b/gdk4-wayland/src/lib.rs @@ -1,6 +1,7 @@ // Take a look at the license at the top of the repository in the LICENSE file. #![doc = include_str!("../README.md")] +#![allow(deprecated)] #![cfg_attr(docsrs, feature(doc_cfg))] pub use ffi; diff --git a/gdk4-win32/src/lib.rs b/gdk4-win32/src/lib.rs index e48761ac15dc..55afbc761920 100644 --- a/gdk4-win32/src/lib.rs +++ b/gdk4-win32/src/lib.rs @@ -1,6 +1,7 @@ // Take a look at the license at the top of the repository in the LICENSE file. #![doc = include_str!("../README.md")] +#![allow(deprecated)] #![cfg_attr(docsrs, feature(doc_cfg))] pub use ffi; diff --git a/gdk4-x11/src/lib.rs b/gdk4-x11/src/lib.rs index 216e54a87131..c0ea8e5f740e 100644 --- a/gdk4-x11/src/lib.rs +++ b/gdk4-x11/src/lib.rs @@ -1,6 +1,7 @@ // Take a look at the license at the top of the repository in the LICENSE file. #![doc = include_str!("../README.md")] +#![allow(deprecated)] #![cfg_attr(docsrs, feature(doc_cfg))] pub use ffi; diff --git a/gdk4/src/lib.rs b/gdk4/src/lib.rs index d3c4f4d89697..d145cd826edc 100644 --- a/gdk4/src/lib.rs +++ b/gdk4/src/lib.rs @@ -1,6 +1,7 @@ // Take a look at the license at the top of the repository in the LICENSE file. #![cfg_attr(docsrs, feature(doc_cfg))] +#![allow(deprecated)] #![doc = include_str!("../README.md")] pub use cairo; diff --git a/gsk4/src/lib.rs b/gsk4/src/lib.rs index 287116f0e842..b85e407e34a4 100644 --- a/gsk4/src/lib.rs +++ b/gsk4/src/lib.rs @@ -1,6 +1,7 @@ // Take a look at the license at the top of the repository in the LICENSE file. #![cfg_attr(docsrs, feature(doc_cfg))] +#![allow(deprecated)] #![doc = include_str!("../README.md")] pub use cairo;