atagen

matrix-rust-sdk

public
Star0
Watch0
ssh://brewery@pls.lobotomise.me:33/atagen/matrix-rust-sdk.git
bindings/matrix-sdk-ffi/src/lib.rsRust53 lines1.1 KB
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
5
mod authentication;
6
mod chunk_iterator;
7
mod client;
8
mod client_builder;
9
mod encryption;
10
mod error;
11
mod event;
12
mod helpers;
13
mod identity_status_change;
14
mod live_locations_observer;
15
mod notification;
16
mod notification_settings;
17
mod platform;
18
mod qr_code;
19
mod room;
20
mod room_alias;
21
mod room_directory_search;
22
mod room_list;
23
mod room_member;
24
mod room_preview;
25
mod ruma;
26
mod runtime;
27
#[cfg(feature = "experimental-search")]
28
mod search;
29
mod session_verification;
30
mod spaces;
31
mod store;
32
mod sync_service;
33
mod sync_v2;
34
mod task_handle;
35
mod timeline;
36
mod utd;
37
mod utils;
38
mod widget;
39
40
use matrix_sdk::ruma::events::room::message::RoomMessageEventContentWithoutRelation;
41
42
use self::{
43
    error::ClientError,
44
    ruma::{Mentions, RoomMessageEventContentWithoutRelationExt},
45
    task_handle::TaskHandle,
46
};
47
48
uniffi::include_scaffolding!("api");
49
50
#[matrix_sdk_ffi_macros::export]
51
fn sdk_git_sha() -> String {
52
    env!("VERGEN_GIT_SHA").to_owned()
53
}