Skip to main content

matrix_sdk_ffi/
lib.rs

1#![allow(unused_qualifications, clippy::new_without_default)]
2// Needed because uniffi macros contain empty lines after docs.
3#![allow(clippy::empty_line_after_doc_comments)]
4
5mod authentication;
6mod chunk_iterator;
7mod client;
8mod client_builder;
9mod content_scanner;
10mod encryption;
11mod error;
12mod event;
13mod helpers;
14mod identity_status_change;
15mod live_locations_observer;
16mod notification;
17mod notification_settings;
18mod password_strength;
19mod platform;
20mod qr_code;
21mod room;
22mod room_alias;
23mod room_directory_search;
24mod room_list;
25mod room_member;
26mod room_preview;
27mod ruma;
28mod runtime;
29#[cfg(feature = "experimental-search")]
30mod search_service;
31mod session_verification;
32mod spaces;
33mod store;
34mod sync_service;
35mod sync_v2;
36mod task_handle;
37mod timeline;
38mod utd;
39mod utils;
40mod widget;
41
42use matrix_sdk::ruma::events::room::message::RoomMessageEventContentWithoutRelation;
43
44use self::{
45    error::ClientError,
46    ruma::{Mentions, RoomMessageEventContentWithoutRelationExt},
47    task_handle::TaskHandle,
48};
49
50uniffi::include_scaffolding!("api");
51
52#[matrix_sdk_ffi_macros::export]
53fn sdk_git_sha() -> String {
54    env!("VERGEN_GIT_SHA").to_owned()
55}