atagen

matrix-rust-sdk

public
Star0
Watch0
ssh://brewery@pls.lobotomise.me:33/atagen/matrix-rust-sdk.git

Blame: crates/matrix-sdk-ui/src/lib.rs

7ff8adafe9e4atagen2026-10-22 12:30 UTC1
// Copyright 2023 The Matrix.org Foundation C.I.C.
7ff8adafe9e4atagen2026-10-22 12:30 UTC2
//
7ff8adafe9e4atagen2026-10-22 12:30 UTC3
// Licensed under the Apache License, Version 2.0 (the "License");
7ff8adafe9e4atagen2026-10-22 12:30 UTC4
// you may not use this file except in compliance with the License.
7ff8adafe9e4atagen2026-10-22 12:30 UTC5
// You may obtain a copy of the License at
7ff8adafe9e4atagen2026-10-22 12:30 UTC6
//
7ff8adafe9e4atagen2026-10-22 12:30 UTC7
//     http://www.apache.org/licenses/LICENSE-2.0
7ff8adafe9e4atagen2026-10-22 12:30 UTC8
//
7ff8adafe9e4atagen2026-10-22 12:30 UTC9
// Unless required by applicable law or agreed to in writing, software
7ff8adafe9e4atagen2026-10-22 12:30 UTC10
// distributed under the License is distributed on an "AS IS" BASIS,
7ff8adafe9e4atagen2026-10-22 12:30 UTC11
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
7ff8adafe9e4atagen2026-10-22 12:30 UTC12
// See the License for the specific language governing permissions and
7ff8adafe9e4atagen2026-10-22 12:30 UTC13
// limitations under the License.
7ff8adafe9e4atagen2026-10-22 12:30 UTC14
7ff8adafe9e4atagen2026-10-22 12:30 UTC15
#![cfg_attr(target_family = "wasm", allow(clippy::arc_with_non_send_sync))]
7ff8adafe9e4atagen2026-10-22 12:30 UTC16
#![cfg_attr(docsrs, feature(doc_cfg))]
7ff8adafe9e4atagen2026-10-22 12:30 UTC17
7ff8adafe9e4atagen2026-10-22 12:30 UTC18
pub use eyeball_im;
7ff8adafe9e4atagen2026-10-22 12:30 UTC19
use ruma::html::HtmlSanitizerMode;
7ff8adafe9e4atagen2026-10-22 12:30 UTC20
7ff8adafe9e4atagen2026-10-22 12:30 UTC21
pub mod encryption_sync_service;
7ff8adafe9e4atagen2026-10-22 12:30 UTC22
pub mod notification_client;
7ff8adafe9e4atagen2026-10-22 12:30 UTC23
pub mod room_list_service;
7ff8adafe9e4atagen2026-10-22 12:30 UTC24
pub mod spaces;
7ff8adafe9e4atagen2026-10-22 12:30 UTC25
pub mod sync_service;
7ff8adafe9e4atagen2026-10-22 12:30 UTC26
pub mod timeline;
7ff8adafe9e4atagen2026-10-22 12:30 UTC27
pub mod unable_to_decrypt_hook;
7ff8adafe9e4atagen2026-10-22 12:30 UTC28
7ff8adafe9e4atagen2026-10-22 12:30 UTC29
pub use self::{room_list_service::RoomListService, timeline::Timeline};
7ff8adafe9e4atagen2026-10-22 12:30 UTC30
7ff8adafe9e4atagen2026-10-22 12:30 UTC31
/// The default sanitizer mode used when sanitizing HTML.
7ff8adafe9e4atagen2026-10-22 12:30 UTC32
const DEFAULT_SANITIZER_MODE: HtmlSanitizerMode = HtmlSanitizerMode::Compat;
7ff8adafe9e4atagen2026-10-22 12:30 UTC33
7ff8adafe9e4atagen2026-10-22 12:30 UTC34
#[cfg(test)]
7ff8adafe9e4atagen2026-10-22 12:30 UTC35
matrix_sdk_test_utils::init_tracing_for_tests!();
7ff8adafe9e4atagen2026-10-22 12:30 UTC36
7ff8adafe9e4atagen2026-10-22 12:30 UTC37
#[cfg(feature = "uniffi")]
7ff8adafe9e4atagen2026-10-22 12:30 UTC38
uniffi::setup_scaffolding!();