atagen

macltok

public
Star0
Watch0
7aa42f589ee211d728acc6e8f1cbf7969258522b
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;
a319bae745d8atagen2026-09-26 09:59 UTC6
#[cfg(feature = "mirror")]
a319bae745d8atagen2026-09-26 09:59 UTC7
mod mirror;
96fdf90aacd6atagen2026-09-08 08:24 UTC8
mod model;
96fdf90aacd6atagen2026-09-08 08:24 UTC9
mod normalise;
96fdf90aacd6atagen2026-09-08 08:24 UTC10
mod transport;
96fdf90aacd6atagen2026-09-08 08:24 UTC11
mod uiaa;
96fdf90aacd6atagen2026-09-08 08:24 UTC12
mod upload;
7b376d620a3datagen2026-09-26 12:53 UTC13
#[cfg(target_family = "wasm")]
7b376d620a3datagen2026-09-26 12:53 UTC14
mod wasm;
96fdf90aacd6atagen2026-09-08 08:24 UTC15
62fe32759529atagen2026-09-26 08:50 UTC16
#[cfg(all(feature = "sqlite", target_family = "wasm"))]
62fe32759529atagen2026-09-26 08:50 UTC17
compile_error!("sqlite has no filesystem to live on in wasm, use indexeddb");
62fe32759529atagen2026-09-26 08:50 UTC18
#[cfg(all(feature = "indexeddb", not(target_family = "wasm")))]
62fe32759529atagen2026-09-26 08:50 UTC19
compile_error!("indexeddb only exists in a browser, use sqlite");
62fe32759529atagen2026-09-26 08:50 UTC20
62fe32759529atagen2026-09-26 08:50 UTC21
#[cfg(any(feature = "sqlite", feature = "indexeddb"))]
96fdf90aacd6atagen2026-09-08 08:24 UTC22
mod account;
713205a95af2atagen2026-09-26 09:24 UTC23
#[cfg(any(feature = "sqlite", feature = "indexeddb"))]
713205a95af2atagen2026-09-26 09:24 UTC24
mod session_store;
a250c7fa43fbatagen2026-09-26 13:35 UTC25
#[cfg(any(feature = "sqlite", feature = "indexeddb"))]
a250c7fa43fbatagen2026-09-26 13:35 UTC26
mod store_lock;
96fdf90aacd6atagen2026-09-08 08:24 UTC27
62fe32759529atagen2026-09-26 08:50 UTC28
#[cfg(any(feature = "sqlite", feature = "indexeddb"))]
96fdf90aacd6atagen2026-09-08 08:24 UTC29
pub use account::{
6f1d6591c10datagen2026-09-26 09:52 UTC30
    AccountError, OAuthApplicationType, OAuthLogin, PasswordLogin, PendingOAuthLogin, Restore,
a250c7fa43fbatagen2026-09-26 13:35 UTC31
    Session, SessionRecord, SoftLogout, StoreConfig, UnsavedSession,
96fdf90aacd6atagen2026-09-08 08:24 UTC32
};
713205a95af2atagen2026-09-26 09:24 UTC33
#[cfg(any(feature = "sqlite", feature = "indexeddb"))]
713205a95af2atagen2026-09-26 09:24 UTC34
pub use session_store::{EncryptedSessionStore, SessionStore};
96fdf90aacd6atagen2026-09-08 08:24 UTC35
96fdf90aacd6atagen2026-09-08 08:24 UTC36
pub use engine::{Engine, EngineConfig, EngineError};
31ce2453c82fatagen2026-09-24 13:07 UTC37
pub use error::{Error, ErrorKind};
d5d8097c3afdatagen2026-09-26 09:33 UTC38
pub use imbl;
a319bae745d8atagen2026-09-26 09:59 UTC39
#[cfg(feature = "mirror")]
a319bae745d8atagen2026-09-26 09:59 UTC40
pub use mirror::{
a319bae745d8atagen2026-09-26 09:59 UTC41
    Mirror, MirrorHandle, SessionStatus, State, StateChange, Subscription, TimelineChange,
a319bae745d8atagen2026-09-26 09:59 UTC42
    TimelineState, Update, UploadFailure, UploadState,
a319bae745d8atagen2026-09-26 09:59 UTC43
};
96fdf90aacd6atagen2026-09-08 08:24 UTC44
pub use model::{
960ac0721079atagen2026-09-25 00:24 UTC45
    AccountCommand, AttachmentUpload, Change, Command, CommandOutput, ConnectionState,
960ac0721079atagen2026-09-25 00:24 UTC46
    CreateRoomOptions, EncryptionCommand, EncryptionState, EngineErrorKind, EngineFailure, Event,
960ac0721079atagen2026-09-25 00:24 UTC47
    EventRef, HistoryState, KeyBackupState, LatestEvent, LifecycleCommand, Media, MediaCommand,
960ac0721079atagen2026-09-25 00:24 UTC48
    MediaDescriptor, MediaId, MediaKind, MediaSize, MemberFilter, MemberMembership, MemberSummary,
960ac0721079atagen2026-09-25 00:24 UTC49
    MembershipChange, Message, MessageContent, MessageEditContent, MessageKind, MessageMentions,
960ac0721079atagen2026-09-25 00:24 UTC50
    NotificationCommand, OwnDevice, PowerLevelChanges, Profile, PushNotification,
960ac0721079atagen2026-09-25 00:24 UTC51
    PushNotificationEvent, PushNotificationRoom, PushNotificationSender, PushNotificationStatus,
fe4133dbcd47atagen2026-09-26 09:05 UTC52
    Reaction, RecoveryState, ReplyDetails, ReplyReference, Retain, RichText, RoomCategory,
fe4133dbcd47atagen2026-09-26 09:05 UTC53
    RoomCommand, RoomHero, RoomListFilter, RoomMatcher, RoomMembership, RoomNotificationMode,
96fdf90aacd6atagen2026-09-08 08:24 UTC54
    RoomNotificationSettings, RoomPowerLevels, RoomPreset, RoomSummary, RoomVisibility, SendState,
fe4133dbcd47atagen2026-09-26 09:05 UTC55
    Sender, SpaceChild, Termination, ThreadSummary, TimelineCommand, TimelineContent, TimelineDiff,
960ac0721079atagen2026-09-25 00:24 UTC56
    TimelineDiffError, TimelineEvent, TimelineId, TimelineItem, TimelineItemId, TypingState,
0bfa3f46f0beatagen2026-09-26 09:12 UTC57
    UploadDetails, UploadOutcome, UploadThumbnail, UtdCause, VerificationAction,
0bfa3f46f0beatagen2026-09-26 09:12 UTC58
    VerificationFailure, VerificationState, VerificationTarget,
96fdf90aacd6atagen2026-09-08 08:24 UTC59
};
31ce2453c82fatagen2026-09-24 13:07 UTC60
pub use transport::{ClientHandle, EventStream, Pending, SpaceHierarchy};
96fdf90aacd6atagen2026-09-08 08:24 UTC61
pub use uiaa::{
96fdf90aacd6atagen2026-09-08 08:24 UTC62
    InteractiveAuth, InteractiveAuthChallenge, InteractiveAuthFailure, InteractiveAuthFlow,
96fdf90aacd6atagen2026-09-08 08:24 UTC63
    InteractiveAuthOutcome,
96fdf90aacd6atagen2026-09-08 08:24 UTC64
};
7b376d620a3datagen2026-09-26 12:53 UTC65
#[cfg(target_family = "wasm")]
7b376d620a3datagen2026-09-26 12:53 UTC66
pub use wasm::on_panic;