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_location_share;
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;
27mod search;
28mod session_verification;
29mod spaces;
30mod store;
31mod sync_service;
32mod sync_v2;
33mod task_handle;
34mod timeline;
35mod utd;
36mod utils;
37mod widget;
38
39use matrix_sdk::ruma::events::room::message::RoomMessageEventContentWithoutRelation;
40
41use self::{
42    error::ClientError,
43    ruma::{Mentions, RoomMessageEventContentWithoutRelationExt},
44    task_handle::TaskHandle,
45};
46
47uniffi::include_scaffolding!("api");
48
49#[matrix_sdk_ffi_macros::export]
50fn sdk_git_sha() -> String {
51    env!("VERGEN_GIT_SHA").to_owned()
52}