next-rust-core 0.1.4

Core types for Next Rust: configuration, environment loading, rendering modes and diagnostics.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
//! Core building blocks shared by every Next Rust crate.
//!
//! * [`config`] – `next-rust.toml` / `next-rust.json` discovery and parsing.
//! * [`env`](mod@env) – `.env` file loading with a strict server/public split.
//! * [`diagnostic`] – structured, human friendly error reporting.
//! * [`RenderingMode`] – static / dynamic / auto rendering.

#![deny(unsafe_code)]

pub mod brand;
pub mod config;
pub mod diagnostic;
pub mod env;
mod mode;

pub use config::{Config, ConfigError};
pub use diagnostic::{Diagnostic, Diagnostics, Severity};
pub use mode::{Environment, RenderingMode};