forge
Explore
Log in

Don't you dare go Hollow

iz_old

Clone
★ 0

0 watching0 forksRustGPL-3.02.2 MiB4c154b4Tahinli2 months ago301 commits

lib.rs35 lines, 1.0 KiBHistoryRawDownload
1//! Domain model and storage for iz.
2//!
3//! The vocabulary — roles and record shapes — compiles everywhere, so the UI
4//! and the server speak the same types. The `server` feature adds the halves
5//! that must never reach the browser: the store, the mail engine and the
6//! config.
7
8pub mod board;
9pub mod detail;
10pub mod role;
11pub use board::{BoardView, Column, TaskCard};
12pub use detail::TaskDetail;
13pub use role::Role;
14
15#[cfg(feature = "server")]
16pub mod live;
17#[cfg(feature = "server")]
18pub mod config;
19#[cfg(feature = "server")]
20pub mod mail;
21#[cfg(feature = "server")]
22pub mod store;
23
24#[cfg(feature = "server")]
25pub use board::{BoardReads, load as load_board};
26#[cfg(feature = "server")]
27pub use config::{Config, ConfigError};
28#[cfg(feature = "server")]
29pub use detail::{DetailReads, load as load_detail};
30#[cfg(feature = "server")]
31pub use live::{Change, Topic};
32#[cfg(feature = "server")]
33pub use mail::{Engine as MailEngine, MailError, Mailer, Outgoing};
34#[cfg(feature = "server")]
35pub use store::{Store, StoreError, TursoStore};