apiplant_core/lib.rs
1//! # apiplant-core
2//!
3//! Configuration, error handling, and the declarative resource model that the
4//! rest of apiplant is built on. This crate has no async, no database and no
5//! HTTP — it only knows how to turn an *app directory* on disk into typed
6//! [`App`] data other crates act on.
7
8pub mod app;
9pub mod config;
10pub mod defaults;
11pub mod env;
12pub mod error;
13pub mod schema;
14
15pub use app::{App, TlsPaths};
16pub use config::{CacheConfig, Config, EmailConfig, SmtpConfig};
17pub use env::{expand_document, parse_toml};
18pub use error::{Error, Result};
19pub use schema::{
20 relation_name, Access, AuthEvent, Field, FieldType, HookEvent, Hooks, OnDelete, Permissions,
21 Reference, Resource, Scope,
22};