next_rust_core/lib.rs
1//! Core building blocks shared by every Next Rust crate.
2//!
3//! * [`config`] – `next-rust.toml` / `next-rust.json` discovery and parsing.
4//! * [`env`](mod@env) – `.env` file loading with a strict server/public split.
5//! * [`diagnostic`] – structured, human friendly error reporting.
6//! * [`RenderingMode`] – static / dynamic / auto rendering.
7
8#![deny(unsafe_code)]
9
10pub mod config;
11pub mod diagnostic;
12pub mod env;
13mod mode;
14
15pub use config::{Config, ConfigError};
16pub use diagnostic::{Diagnostic, Diagnostics, Severity};
17pub use mode::{Environment, RenderingMode};