van-context 0.1.16

Project context and configuration for Van template engine CLI
Documentation

van-context

crates.io

Project context and configuration reader for the Van template engine CLI.

Part of the Van template engine.

Overview

Provides VanProject and VanConfig types used by the CLI toolchain (van dev, van generate) to discover and load Van project settings.

use van_context::project::VanProject;

let project = VanProject::load(std::path::Path::new("."))?;
// project.root — project root directory
// project.config — parsed van.config.json / package.json settings

Key Types

  • VanProject — loaded project handle: root (PathBuf) + config (VanConfig)
  • VanConfig — project configuration: source directories, output paths, theme settings

License

MIT