atagen

macltok

public
Star0
Watch0
5a52012c9b1d7ec241e293fb63039a10884d6fdc
3
ssh://brewery@pls.lobotomise.me:33/atagen/macltok.git
src/lib.rsRust43 lines1.9 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 error::{Error, ErrorKind};
23
pub use model::{
24
    AccountCommand, AttachmentUpload, Change, Command, CommandOutput, ConnectionState,
25
    CreateRoomOptions, EncryptionCommand, EncryptionState, EngineErrorKind, EngineFailure, Event,
26
    EventRef, HistoryState, KeyBackupState, LatestEvent, LifecycleCommand, Media, MediaCommand,
27
    MediaDescriptor, MediaId, MediaKind, MediaSize, MemberFilter, MemberMembership, MemberSummary,
28
    MembershipChange, Message, MessageContent, MessageEditContent, MessageKind, MessageMentions,
29
    NotificationCommand, OwnDevice, PowerLevelChanges, Profile, PushNotification,
30
    PushNotificationEvent, PushNotificationRoom, PushNotificationSender, PushNotificationStatus,
31
    Reaction, RecoveryState, ReplyDetails, ReplyReference, RichText, RoomCategory, RoomCommand,
32
    RoomHero, RoomListFilter, RoomMatcher, RoomMembership, RoomNotificationMode,
33
    RoomNotificationSettings, RoomPowerLevels, RoomPreset, RoomSummary, RoomVisibility, SendState,
34
    Sender, SpaceChild, ThreadSummary, TimelineCommand, TimelineContent, TimelineDiff,
35
    TimelineDiffError, TimelineEvent, TimelineId, TimelineItem, TimelineItemId, TypingState,
36
    UploadDetails, UploadThumbnail, UtdCause, VerificationAction, VerificationFailure,
37
    VerificationState, VerificationTarget,
38
};
39
pub use transport::{ClientHandle, EventStream, Pending, SpaceHierarchy};
40
pub use uiaa::{
41
    InteractiveAuth, InteractiveAuthChallenge, InteractiveAuthFailure, InteractiveAuthFlow,
42
    InteractiveAuthOutcome,
43
};