atagen

macltok

public
Star0
Watch0
96fdf90aacd6dc2b8bd3d63773234245b389d28c
3
ssh://brewery@pls.lobotomise.me:33/atagen/macltok.git
src/lib.rsRust42 lines1.8 KB
1
//! A compact application backend contract on top of the Matrix Rust SDK.
2
3
mod encryption;
4
mod engine;
5
mod error;
6
mod model;
7
mod normalise;
8
mod transport;
9
mod uiaa;
10
mod upload;
11
12
#[cfg(feature = "sqlite")]
13
mod account;
14
15
#[cfg(feature = "sqlite")]
16
pub use account::{
17
    AccountError, OAuthApplicationType, OAuthLogin, PasswordLogin, PendingOAuthLogin, Session,
18
    SessionRecord, StoreConfig,
19
};
20
21
pub use engine::{Engine, EngineConfig, EngineError};
22
pub use model::{
23
    AccountCommand, AttachmentUpload, Command, CommandErrorKind, CommandFailure, CommandId,
24
    CommandKind, ConnectionState, CreateRoomOptions, EncryptionCommand, EncryptionState,
25
    EngineErrorKind, EngineFailure, Event, HistoryState, KeyBackupState, LifecycleCommand,
26
    MediaCommand, MediaDescriptor, MediaId, MediaKind, MediaSize, MemberFilter, MemberMembership,
27
    MemberSummary, MessageContent, MessageEditContent, MessageMentions, NotificationCommand,
28
    OwnDevice, PowerLevelChanges, PushNotification, PushNotificationEvent, PushNotificationRoom,
29
    PushNotificationSender, PushNotificationStatus, Reaction, RecoveryState, ReplyReference,
30
    RichText, RoomCategory, RoomCommand, RoomListFilter, RoomMembership, RoomNotificationMode,
31
    RoomNotificationSettings, RoomPowerLevels, RoomPreset, RoomSummary, RoomVisibility, SendState,
32
    ThreadSummary, TimelineCommand, TimelineDiff, TimelineDiffError, TimelineId, TimelineItem,
33
    TimelineItemId, TimelineMessage, TypingState, UploadDetails, UploadThumbnail,
34
    VerificationAction, VerificationFailure, VerificationState, VerificationTarget,
35
};
36
pub use transport::{
37
    ClientHandle, ClientQueryError, CommandResultError, EventStream, SendCommandError,
38
};
39
pub use uiaa::{
40
    InteractiveAuth, InteractiveAuthChallenge, InteractiveAuthFailure, InteractiveAuthFlow,
41
    InteractiveAuthOutcome,
42
};