atagen

macltok

public
Star0
Watch0
fbeaaa098107ea3a2693391aaa175f1c17cf2899
3
ssh://brewery@pls.lobotomise.me:33/atagen/macltok.git

Blame: src/lib.rs

96fdf90aacd6atagen2026-09-08 08:24 UTC1
//! A compact application backend contract on top of the Matrix Rust SDK.
96fdf90aacd6atagen2026-09-08 08:24 UTC2
96fdf90aacd6atagen2026-09-08 08:24 UTC3
mod encryption;
96fdf90aacd6atagen2026-09-08 08:24 UTC4
mod engine;
96fdf90aacd6atagen2026-09-08 08:24 UTC5
mod error;
cbb715e11963atagen2026-10-24 23:24 UTC6
mod mentions;
cbb715e11963atagen2026-10-24 23:24 UTC7
mod mentions_model;
a319bae745d8atagen2026-09-26 09:59 UTC8
#[cfg(feature = "mirror")]
a319bae745d8atagen2026-09-26 09:59 UTC9
mod mirror;
96fdf90aacd6atagen2026-09-08 08:24 UTC10
mod model;
96fdf90aacd6atagen2026-09-08 08:24 UTC11
mod normalise;
80381e06a573atagen2026-10-25 03:02 UTC12
mod repair_model;
9bd34e25bb86atagen2026-10-24 07:23 UTC13
mod space_order;
96fdf90aacd6atagen2026-09-08 08:24 UTC14
mod transport;
96fdf90aacd6atagen2026-09-08 08:24 UTC15
mod uiaa;
96fdf90aacd6atagen2026-09-08 08:24 UTC16
mod upload;
7b376d620a3datagen2026-09-26 12:53 UTC17
#[cfg(target_family = "wasm")]
7b376d620a3datagen2026-09-26 12:53 UTC18
mod wasm;
96fdf90aacd6atagen2026-09-08 08:24 UTC19
62fe32759529atagen2026-09-26 08:50 UTC20
#[cfg(all(feature = "sqlite", target_family = "wasm"))]
62fe32759529atagen2026-09-26 08:50 UTC21
compile_error!("sqlite has no filesystem to live on in wasm, use indexeddb");
62fe32759529atagen2026-09-26 08:50 UTC22
#[cfg(all(feature = "indexeddb", not(target_family = "wasm")))]
62fe32759529atagen2026-09-26 08:50 UTC23
compile_error!("indexeddb only exists in a browser, use sqlite");
62fe32759529atagen2026-09-26 08:50 UTC24
62fe32759529atagen2026-09-26 08:50 UTC25
#[cfg(any(feature = "sqlite", feature = "indexeddb"))]
96fdf90aacd6atagen2026-09-08 08:24 UTC26
mod account;
713205a95af2atagen2026-09-26 09:24 UTC27
#[cfg(any(feature = "sqlite", feature = "indexeddb"))]
cb0668d30c14atagen2026-10-08 11:34 UTC28
mod accounts;
cb0668d30c14atagen2026-10-08 11:34 UTC29
#[cfg(any(feature = "sqlite", feature = "indexeddb"))]
713205a95af2atagen2026-09-26 09:24 UTC30
mod session_store;
a250c7fa43fbatagen2026-09-26 13:35 UTC31
#[cfg(any(feature = "sqlite", feature = "indexeddb"))]
a250c7fa43fbatagen2026-09-26 13:35 UTC32
mod store_lock;
96fdf90aacd6atagen2026-09-08 08:24 UTC33
62fe32759529atagen2026-09-26 08:50 UTC34
#[cfg(any(feature = "sqlite", feature = "indexeddb"))]
96fdf90aacd6atagen2026-09-08 08:24 UTC35
pub use account::{
6f1d6591c10datagen2026-09-26 09:52 UTC36
    AccountError, OAuthApplicationType, OAuthLogin, PasswordLogin, PendingOAuthLogin, Restore,
a250c7fa43fbatagen2026-09-26 13:35 UTC37
    Session, SessionRecord, SoftLogout, StoreConfig, UnsavedSession,
96fdf90aacd6atagen2026-09-08 08:24 UTC38
};
713205a95af2atagen2026-09-26 09:24 UTC39
#[cfg(any(feature = "sqlite", feature = "indexeddb"))]
cb0668d30c14atagen2026-10-08 11:34 UTC40
pub use accounts::{Account, Accounts};
cb0668d30c14atagen2026-10-08 11:34 UTC41
#[cfg(any(feature = "sqlite", feature = "indexeddb"))]
713205a95af2atagen2026-09-26 09:24 UTC42
pub use session_store::{EncryptedSessionStore, SessionStore};
96fdf90aacd6atagen2026-09-08 08:24 UTC43
96fdf90aacd6atagen2026-09-08 08:24 UTC44
pub use engine::{Engine, EngineConfig, EngineError};
9a25b6ce66f4atagen2026-10-08 11:15 UTC45
pub use error::{Error, ErrorKind, ServerError};
d5d8097c3afdatagen2026-09-26 09:33 UTC46
pub use imbl;
cbb715e11963atagen2026-10-24 23:24 UTC47
pub use mentions_model::{
7cdaa86b9489atagen2026-10-25 08:43 UTC48
    MentionCaptureState, MentionCoverage, MentionEntry, MentionGap, MentionGapReason, MentionKey,
7cdaa86b9489atagen2026-10-25 08:43 UTC49
    MentionReason, MentionsBoundary, MentionsCommand, MentionsPage, MentionsUpdate,
7cdaa86b9489atagen2026-10-25 08:43 UTC50
    SavedMentionContext,
cbb715e11963atagen2026-10-24 23:24 UTC51
};
a319bae745d8atagen2026-09-26 09:59 UTC52
#[cfg(feature = "mirror")]
a319bae745d8atagen2026-09-26 09:59 UTC53
pub use mirror::{
66db1b3cd895atagen2026-10-25 10:28 UTC54
    Mirror, MirrorHandle, SessionStatus, State, StateChange, Subscription, ThreadListChange,
66db1b3cd895atagen2026-10-25 10:28 UTC55
    ThreadListState, TimelineChange, TimelineState, Update, UploadFailure, UploadState,
a319bae745d8atagen2026-09-26 09:59 UTC56
};
96fdf90aacd6atagen2026-09-08 08:24 UTC57
pub use model::{
5b21b919d1e6atagen2026-09-27 11:47 UTC58
    AccountCommand, AttachmentEncryption, AttachmentUpload, Change, Command, CommandOutput,
5b21b919d1e6atagen2026-09-27 11:47 UTC59
    ConnectionState, CreateRoomOptions, EncryptionCommand, EncryptionState, EngineErrorKind,
60454002af5fatagen2026-10-25 11:13 UTC60
    EngineFailure, Event, EventContext, EventContextCloseReason, EventContextCommand,
60454002af5fatagen2026-10-25 11:13 UTC61
    EventContextPage, EventContextSession, EventRef, HistoryState, ImagePack, ImagePackSource,
60454002af5fatagen2026-10-25 11:13 UTC62
    ImagePacks, KeyBackupState, LatestEvent, LifecycleCommand, LinkPreview, LinkPreviewImage,
60454002af5fatagen2026-10-25 11:13 UTC63
    Media, MediaCommand, MediaDescriptor, MediaFile, MediaId, MediaKind, MediaLocation, MediaSize,
60454002af5fatagen2026-10-25 11:13 UTC64
    MemberFilter, MemberMembership, MemberSummary, MembershipChange, Message, MessageContent,
60454002af5fatagen2026-10-25 11:13 UTC65
    MessageEditContent, MessageKind, MessageMentions, NotificationCommand, OwnDevice, PackCommand,
60454002af5fatagen2026-10-25 11:13 UTC66
    PackImage, PackImageInfo, PackUsage, Patch, PowerLevelChanges, Profile, PushNotification,
60454002af5fatagen2026-10-25 11:13 UTC67
    PushNotificationEvent, PushNotificationRoom, PushNotificationSender, PushNotificationStatus,
60454002af5fatagen2026-10-25 11:13 UTC68
    Reaction, RecentHistoryState, RecoveryState, ReplyDetails, ReplyReference, Retain, RichText,
c9f0fd0ee1ccatagen2026-10-25 06:16 UTC69
    RoomCategory, RoomCommand, RoomHero, RoomListFilter, RoomMatcher, RoomMembership,
c9f0fd0ee1ccatagen2026-10-25 06:16 UTC70
    RoomNotificationMode, RoomNotificationSettings, RoomPowerLevels, RoomPreset, RoomSummary,
60454002af5fatagen2026-10-25 11:13 UTC71
    RoomVisibility, SendState, Sender, SpaceChild, Termination, ThreadListCloseReason,
60454002af5fatagen2026-10-25 11:13 UTC72
    ThreadListCommand, ThreadListEntry, ThreadSummary, ThreadUnread, TimelineCommand,
60454002af5fatagen2026-10-25 11:13 UTC73
    TimelineContent, TimelineDiff, TimelineDiffError, TimelineEvent, TimelineId, TimelineItem,
60454002af5fatagen2026-10-25 11:13 UTC74
    TimelineItemId, TypingState, UploadDetails, UploadOutcome, UploadThumbnail, UtdCause,
60454002af5fatagen2026-10-25 11:13 UTC75
    VerificationAction, VerificationFailure, VerificationState, VerificationTarget,
96fdf90aacd6atagen2026-09-08 08:24 UTC76
};
80381e06a573atagen2026-10-25 03:02 UTC77
pub use repair_model::{
d9b96952ec60atagen2026-10-25 09:07 UTC78
    HistoryContinuity, HistoryGap, HistoryGapLifecycle, HistoryRepairCommand, HistoryRepairPhase,
d9b96952ec60atagen2026-10-25 09:07 UTC79
    HistoryRepairReport, HistoryRepairStop,
80381e06a573atagen2026-10-25 03:02 UTC80
};
e9b6478f917fatagen2026-10-08 11:14 UTC81
pub use ruma;
80381e06a573atagen2026-10-25 03:02 UTC82
#[doc(hidden)]
80381e06a573atagen2026-10-25 03:02 UTC83
pub use transport::PublicationAck;
31ce2453c82fatagen2026-09-24 13:07 UTC84
pub use transport::{ClientHandle, EventStream, Pending, SpaceHierarchy};
96fdf90aacd6atagen2026-09-08 08:24 UTC85
pub use uiaa::{
96fdf90aacd6atagen2026-09-08 08:24 UTC86
    InteractiveAuth, InteractiveAuthChallenge, InteractiveAuthFailure, InteractiveAuthFlow,
96fdf90aacd6atagen2026-09-08 08:24 UTC87
    InteractiveAuthOutcome,
96fdf90aacd6atagen2026-09-08 08:24 UTC88
};
7b376d620a3datagen2026-09-26 12:53 UTC89
#[cfg(target_family = "wasm")]
7b376d620a3datagen2026-09-26 12:53 UTC90
pub use wasm::on_panic;