7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 1 | // Copyright 2023 The Matrix.org Foundation C.I.C. |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 2 | // |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 3 | // Licensed under the Apache License, Version 2.0 (the "License"); |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 4 | // you may not use this file except in compliance with the License. |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 5 | // You may obtain a copy of the License at |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 6 | // |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 7 | // http://www.apache.org/licenses/LICENSE-2.0 |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 8 | // |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 9 | // Unless required by applicable law or agreed to in writing, software |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 10 | // distributed under the License is distributed on an "AS IS" BASIS, |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 12 | // See the License for the specific language governing permissions and |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 13 | // limitations under the License. |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 14 | |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 15 | #![cfg_attr(target_family = "wasm", allow(clippy::arc_with_non_send_sync))] |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 16 | #![cfg_attr(docsrs, feature(doc_cfg))] |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 17 | |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 18 | pub use eyeball_im; |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 19 | use ruma::html::HtmlSanitizerMode; |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 20 | |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 21 | pub mod encryption_sync_service; |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 22 | pub mod notification_client; |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 23 | pub mod room_list_service; |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 24 | pub mod spaces; |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 25 | pub mod sync_service; |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 26 | pub mod timeline; |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 27 | pub mod unable_to_decrypt_hook; |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 28 | |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 29 | pub use self::{room_list_service::RoomListService, timeline::Timeline}; |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 30 | |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 31 | /// The default sanitizer mode used when sanitizing HTML. |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 32 | const DEFAULT_SANITIZER_MODE: HtmlSanitizerMode = HtmlSanitizerMode::Compat; |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 33 | |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 34 | #[cfg(test)] |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 35 | matrix_sdk_test_utils::init_tracing_for_tests!(); |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 36 | |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 37 | #[cfg(feature = "uniffi")] |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 38 | uniffi::setup_scaffolding!(); |