cargo-reef 0.2.3

CLI scaffolder + tooling for Reef apps. `cargo reef new my-app` to scaffold; `cargo reef dev` to run; `cargo reef migrate` for DB migrations.
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
//! Server-side internals. Compiled only with `--features server`.
//!
//! Module layout:
//!   - `db`       — connection management (`Db` struct, `default_db()` global)
//!   - `db::schema` — `#[reef::table]` row types; SSOT for the DB shape (`cargo reef db:push`)
//!   - `queries`  — read-side functions (SELECTs)
//!   - `actions`  — write-side functions (INSERT / UPDATE / DELETE)
//!
//! Code here is NOT part of the wire surface. It's called by `crate::api::*`
//! server fns. Browsers / edge devices never reach into this module — they
//! call the typed RPC defined in `api/`, which delegates here.

pub mod actions;
pub mod db;
pub mod queries;