atagen

macltok

public
Star0
Watch0
002c79e4c6ec3bd46e13dff862d52859b5fc9915
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::{
a319bae745d8atagen2026-09-26 09:59 UTC54
    Mirror, MirrorHandle, SessionStatus, State, StateChange, Subscription, TimelineChange,
a319bae745d8atagen2026-09-26 09:59 UTC55
    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,
da8896938cf0atagen2026-10-25 10:04 UTC60
    EngineFailure, Event, EventContext, EventContextCommand, EventContextPage, EventContextSession,
da8896938cf0atagen2026-10-25 10:04 UTC61
    EventRef, HistoryState, ImagePack, ImagePackSource, ImagePacks, KeyBackupState, LatestEvent,
cb7b3362e1ceatagen2026-10-25 09:08 UTC62
    LifecycleCommand, LinkPreview, LinkPreviewImage, Media, MediaCommand, MediaDescriptor,
cb7b3362e1ceatagen2026-10-25 09:08 UTC63
    MediaFile, MediaId, MediaKind, MediaLocation, MediaSize, MemberFilter, MemberMembership,
cb7b3362e1ceatagen2026-10-25 09:08 UTC64
    MemberSummary, MembershipChange, Message, MessageContent, MessageEditContent, MessageKind,
cb7b3362e1ceatagen2026-10-25 09:08 UTC65
    MessageMentions, NotificationCommand, OwnDevice, PackCommand, PackImage, PackImageInfo,
cb7b3362e1ceatagen2026-10-25 09:08 UTC66
    PackUsage, Patch, PowerLevelChanges, Profile, PushNotification, PushNotificationEvent,
cb7b3362e1ceatagen2026-10-25 09:08 UTC67
    PushNotificationRoom, PushNotificationSender, PushNotificationStatus, Reaction,
cb7b3362e1ceatagen2026-10-25 09:08 UTC68
    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,
c9f0fd0ee1ccatagen2026-10-25 06:16 UTC71
    RoomVisibility, SendState, Sender, SpaceChild, Termination, ThreadSummary, TimelineCommand,
c9f0fd0ee1ccatagen2026-10-25 06:16 UTC72
    TimelineContent, TimelineDiff, TimelineDiffError, TimelineEvent, TimelineId, TimelineItem,
c9f0fd0ee1ccatagen2026-10-25 06:16 UTC73
    TimelineItemId, TypingState, UploadDetails, UploadOutcome, UploadThumbnail, UtdCause,
c9f0fd0ee1ccatagen2026-10-25 06:16 UTC74
    VerificationAction, VerificationFailure, VerificationState, VerificationTarget,
96fdf90aacd6atagen2026-09-08 08:24 UTC75
};
80381e06a573atagen2026-10-25 03:02 UTC76
pub use repair_model::{
d9b96952ec60atagen2026-10-25 09:07 UTC77
    HistoryContinuity, HistoryGap, HistoryGapLifecycle, HistoryRepairCommand, HistoryRepairPhase,
d9b96952ec60atagen2026-10-25 09:07 UTC78
    HistoryRepairReport, HistoryRepairStop,
80381e06a573atagen2026-10-25 03:02 UTC79
};
e9b6478f917fatagen2026-10-08 11:14 UTC80
pub use ruma;
80381e06a573atagen2026-10-25 03:02 UTC81
#[doc(hidden)]
80381e06a573atagen2026-10-25 03:02 UTC82
pub use transport::PublicationAck;
31ce2453c82fatagen2026-09-24 13:07 UTC83
pub use transport::{ClientHandle, EventStream, Pending, SpaceHierarchy};
96fdf90aacd6atagen2026-09-08 08:24 UTC84
pub use uiaa::{
96fdf90aacd6atagen2026-09-08 08:24 UTC85
    InteractiveAuth, InteractiveAuthChallenge, InteractiveAuthFailure, InteractiveAuthFlow,
96fdf90aacd6atagen2026-09-08 08:24 UTC86
    InteractiveAuthOutcome,
96fdf90aacd6atagen2026-09-08 08:24 UTC87
};
7b376d620a3datagen2026-09-26 12:53 UTC88
#[cfg(target_family = "wasm")]
7b376d620a3datagen2026-09-26 12:53 UTC89
pub use wasm::on_panic;