atagen

macltok

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