atagen

macltok

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