Skip to main content

Crate next_rust_core

Crate next_rust_core 

Source
Expand description

Core building blocks shared by every Next Rust crate.

  • config – next-rust.toml / next-rust.json discovery and parsing.
  • env – .env file loading with a strict server/public split.
  • diagnostic – structured, human friendly error reporting.
  • RenderingMode – static / dynamic / auto rendering.

Re-exports§

pub use config::Config;
pub use config::ConfigError;
pub use diagnostic::Diagnostic;
pub use diagnostic::Diagnostics;
pub use diagnostic::Severity;

Modules§

brand
The Next Rust wordmark and brand colours for terminal output, shared by the CLI and the production server’s startup screen.
config
next-rust.toml configuration.
diagnostic
Structured diagnostics.
env
.env loading with an explicit server/public split.

Enums§

Environment
Runtime environment.
RenderingMode
How a page is rendered.