atagen

macltok

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