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 encryption;
10mod error;
11mod event;
12mod helpers;
13mod identity_status_change;
14mod live_locations_observer;
15mod notification;
16mod notification_settings;
17mod platform;
18mod qr_code;
19mod room;
20mod room_alias;
21mod room_directory_search;
22mod room_list;
23mod room_member;
24mod room_preview;
25mod ruma;
26mod runtime;
27#[cfg(feature = "experimental-search")]
28mod search;
29mod session_verification;
30mod spaces;
31mod store;
32mod sync_service;
33mod sync_v2;
34mod task_handle;
35mod timeline;
36mod utd;
37mod utils;
38mod widget;
39
40use matrix_sdk::ruma::events::room::message::RoomMessageEventContentWithoutRelation;
41
42use self::{
43    error::ClientError,
44    ruma::{Mentions, RoomMessageEventContentWithoutRelationExt},
45    task_handle::TaskHandle,
46};
47
48uniffi::include_scaffolding!("api");
49
50#[matrix_sdk_ffi_macros::export]
51fn sdk_git_sha() -> String {
52    env!("VERGEN_GIT_SHA").to_owned()
53}