From 160600e8c02097f8a68fb5c5e2028a540df3a17b Mon Sep 17 00:00:00 2001 From: Jonas Platte Date: Thu, 16 Jan 2025 23:57:52 +0100 Subject: [PATCH] chore(ui): Copy some attributes from matrix-sdk The others should likely be copied at some point as well, but including the readme as crate documentation is not currently useful since the readme for the ui crate is empty, and warning about missing docs or debug implementations would make CI fail without substantial extra work. --- crates/matrix-sdk-ui/src/lib.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/crates/matrix-sdk-ui/src/lib.rs b/crates/matrix-sdk-ui/src/lib.rs index b0f07b9c6b9..ad7afdc9a17 100644 --- a/crates/matrix-sdk-ui/src/lib.rs +++ b/crates/matrix-sdk-ui/src/lib.rs @@ -12,6 +12,9 @@ // See the License for the specific language governing permissions and // limitations under the License. +#![cfg_attr(target_arch = "wasm32", allow(clippy::arc_with_non_send_sync))] +#![cfg_attr(docsrs, feature(doc_auto_cfg))] + use ruma::html::HtmlSanitizerMode; mod events;