atagen

macltok

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