1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
//! RustIO — a production-grade, strict-by-construction web framework
//! for Rust.
//!
//! Write a model struct, derive `RustioAdmin`, and the framework
//! provides the admin UI, HTTP/2 server, Postgres ORM, migrations,
//! full-text search (Meilisearch), sessions, and granular RBAC.
// Phase 7.3 — admin render-test fixtures hand-build large
// `serde_json::json!` literals (FormField has ~16 fields × multiple
// fields per fixture). The default recursion limit (128) is too low
// for those macro expansions; 256 is the conventional bump.
// Phase 14 — Schema Contract System (commit 1, types only). Lives
// under `contract` to avoid colliding with the existing `schema`
// module (the AI-layer Schema export). The contract module is the
// single source of truth describing a model's columns, Rust types,
// expected SQL DDL, and admin/search flags. Commit 1 ships only
// the types + compatibility helpers; the macro that generates a
// `ModelSchema` ships in commit 2; the runtime validator that
// introspects PostgreSQL ships in commit 3.
// Phase 14, commit 3 — Schema Contract runtime validator. Sibling
// to the `contract` module (rather than a submodule) so commit 1's
// `contract.rs` flat layout is preserved without refactoring.
// Read-only PG introspection only; no admin / search / CLI / migration
// touchpoints.
// Phase 14, commit 4 — `rustio doctor --check-schema`'s project-side
// hook. Pure consumer of the validator; nothing in this module
// touches the validator types or any other framework subsystem.
// Common vocabulary at the crate root.
pub use crate;
pub use crate;
pub use crate;
pub use crate;
pub use crate;
pub use crate;
pub use crate;
pub use crateServer;
pub use RustioAdmin;
// `RustioAdmin` emits `::rustio_core::*` paths in its expansion. That
// resolves cleanly for downstream consumers, but inside this crate's
// own compilation unit `rustio_core` isn't a known extern. Aliasing
// the crate to itself under `cfg(test)` lets the macro be exercised by
// `admin::macro_tests` without changing any non-test build.
extern crate self as rustio_core;