BlueGit

ict rusty-teams

Files

rusty-teams / crates / core / src / lib.rs

lib.rs

lib.rs 1.6 KiB Download Raw
1mod actions;
2mod avatars;
3mod card;
4mod channel_sync;
5mod download;
6mod draft;
7mod engine;
8mod error;
9mod events;
10mod folders;
11mod image_size;
12mod images;
13mod mapping;
14mod markdown;
15mod mentions;
16mod people;
17mod presence;
18mod preview;
19mod receipts;
20mod remote;
21mod search;
22mod sidebar_sync;
23mod spans;
24mod stored;
25
26pub use avatars::Avatar;
27pub use card::card_content_text;
28pub use draft::{
29 Draft, DraftLine, Edit, FormatState, LineKind, MAX_DEPTH, Mark, MarkKind, TypingStyle,
30 changed_span, has_markdown, link_url, map_offset, reverse_edits,
31};
32pub use engine::{Delta, Me, SidebarSummary, SyncConfig, SyncEngine};
33pub use error::{Error, Result};
34pub use events::CoreEvent;
35pub use folders::{BoxFuture, ChatFolder, ChatsvcFolderSource, FolderKind, FolderSource};
36pub use graph::{
37 FileReference, HostedImage, KeptAttachment, MentionTarget, MessageExtras, SharedFile,
38 UploadedFile,
39};
40pub use images::StoredImage;
41pub use mapping::{chat_record, message_record};
42pub use markdown::{escape_html, markdown_to_html, plain_text_to_html};
43pub use mentions::MentionInput;
44pub use people::{MentionCandidate, PersonCandidate, PersonSource};
45pub use presence::{Availability, Presence};
46pub use preview::preview_text;
47pub use receipts::{ReceiptReader, ReceiptState};
48pub use remote::{ChatsPage, DeltaPage, Remote, RemotePage};
49pub use spans::{Span, html_to_spans};
50pub use store::{ConversationHit, HIGHLIGHT_END, HIGHLIGHT_START, SearchHit};
51pub use stored::{
52 AttachmentInfo, FileCard, FileKind, ImageRef, MentionInfo, QuoteInfo, ReactionInfo,
53 attachments, can_delete, can_edit, copy_text, files, images, mentions, message_spans, quotes,
54 reactions, user_mention_inputs,
55};