atagen

macltok

public
Star0
Watch0
62fe32759529d8db8bc39738189399cea0f4511d
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;
96fdf90aacd6atagen2026-09-08 08:24 UTC6
mod model;
96fdf90aacd6atagen2026-09-08 08:24 UTC7
mod normalise;
96fdf90aacd6atagen2026-09-08 08:24 UTC8
mod transport;
96fdf90aacd6atagen2026-09-08 08:24 UTC9
mod uiaa;
96fdf90aacd6atagen2026-09-08 08:24 UTC10
mod upload;
96fdf90aacd6atagen2026-09-08 08:24 UTC11
62fe32759529atagen2026-09-26 08:50 UTC12
#[cfg(all(feature = "sqlite", target_family = "wasm"))]
62fe32759529atagen2026-09-26 08:50 UTC13
compile_error!("sqlite has no filesystem to live on in wasm, use indexeddb");
62fe32759529atagen2026-09-26 08:50 UTC14
#[cfg(all(feature = "indexeddb", not(target_family = "wasm")))]
62fe32759529atagen2026-09-26 08:50 UTC15
compile_error!("indexeddb only exists in a browser, use sqlite");
62fe32759529atagen2026-09-26 08:50 UTC16
62fe32759529atagen2026-09-26 08:50 UTC17
#[cfg(any(feature = "sqlite", feature = "indexeddb"))]
96fdf90aacd6atagen2026-09-08 08:24 UTC18
mod account;
96fdf90aacd6atagen2026-09-08 08:24 UTC19
62fe32759529atagen2026-09-26 08:50 UTC20
#[cfg(any(feature = "sqlite", feature = "indexeddb"))]
96fdf90aacd6atagen2026-09-08 08:24 UTC21
pub use account::{
96fdf90aacd6atagen2026-09-08 08:24 UTC22
    AccountError, OAuthApplicationType, OAuthLogin, PasswordLogin, PendingOAuthLogin, Session,
96fdf90aacd6atagen2026-09-08 08:24 UTC23
    SessionRecord, StoreConfig,
96fdf90aacd6atagen2026-09-08 08:24 UTC24
};
96fdf90aacd6atagen2026-09-08 08:24 UTC25
96fdf90aacd6atagen2026-09-08 08:24 UTC26
pub use engine::{Engine, EngineConfig, EngineError};
31ce2453c82fatagen2026-09-24 13:07 UTC27
pub use error::{Error, ErrorKind};
96fdf90aacd6atagen2026-09-08 08:24 UTC28
pub use model::{
960ac0721079atagen2026-09-25 00:24 UTC29
    AccountCommand, AttachmentUpload, Change, Command, CommandOutput, ConnectionState,
960ac0721079atagen2026-09-25 00:24 UTC30
    CreateRoomOptions, EncryptionCommand, EncryptionState, EngineErrorKind, EngineFailure, Event,
960ac0721079atagen2026-09-25 00:24 UTC31
    EventRef, HistoryState, KeyBackupState, LatestEvent, LifecycleCommand, Media, MediaCommand,
960ac0721079atagen2026-09-25 00:24 UTC32
    MediaDescriptor, MediaId, MediaKind, MediaSize, MemberFilter, MemberMembership, MemberSummary,
960ac0721079atagen2026-09-25 00:24 UTC33
    MembershipChange, Message, MessageContent, MessageEditContent, MessageKind, MessageMentions,
960ac0721079atagen2026-09-25 00:24 UTC34
    NotificationCommand, OwnDevice, PowerLevelChanges, Profile, PushNotification,
960ac0721079atagen2026-09-25 00:24 UTC35
    PushNotificationEvent, PushNotificationRoom, PushNotificationSender, PushNotificationStatus,
960ac0721079atagen2026-09-25 00:24 UTC36
    Reaction, RecoveryState, ReplyDetails, ReplyReference, RichText, RoomCategory, RoomCommand,
960ac0721079atagen2026-09-25 00:24 UTC37
    RoomHero, RoomListFilter, RoomMatcher, RoomMembership, RoomNotificationMode,
96fdf90aacd6atagen2026-09-08 08:24 UTC38
    RoomNotificationSettings, RoomPowerLevels, RoomPreset, RoomSummary, RoomVisibility, SendState,
960ac0721079atagen2026-09-25 00:24 UTC39
    Sender, SpaceChild, ThreadSummary, TimelineCommand, TimelineContent, TimelineDiff,
960ac0721079atagen2026-09-25 00:24 UTC40
    TimelineDiffError, TimelineEvent, TimelineId, TimelineItem, TimelineItemId, TypingState,
960ac0721079atagen2026-09-25 00:24 UTC41
    UploadDetails, UploadThumbnail, UtdCause, VerificationAction, VerificationFailure,
960ac0721079atagen2026-09-25 00:24 UTC42
    VerificationState, VerificationTarget,
96fdf90aacd6atagen2026-09-08 08:24 UTC43
};
31ce2453c82fatagen2026-09-24 13:07 UTC44
pub use transport::{ClientHandle, EventStream, Pending, SpaceHierarchy};
96fdf90aacd6atagen2026-09-08 08:24 UTC45
pub use uiaa::{
96fdf90aacd6atagen2026-09-08 08:24 UTC46
    InteractiveAuth, InteractiveAuthChallenge, InteractiveAuthFailure, InteractiveAuthFlow,
96fdf90aacd6atagen2026-09-08 08:24 UTC47
    InteractiveAuthOutcome,
96fdf90aacd6atagen2026-09-08 08:24 UTC48
};