Skip to main content

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 brand;
11pub mod config;
12pub mod diagnostic;
13pub mod env;
14mod mode;
15
16pub use config::{Config, ConfigError};
17pub use diagnostic::{Diagnostic, Diagnostics, Severity};
18pub use mode::{Environment, RenderingMode};