Skip to main content

Crate crepuscularity_runtime

Crate crepuscularity_runtime 

Source

Re-exports§

pub use hot_reload::HotReloadState;
pub use hot_reload::HotReloadView;
pub use renderer::render_nodes;
pub use crepuscularity_core as core;

Modules§

ast
context
eval
frontend_bridge
hot_reload
Hot-reload GPUI view component: reads a template file, renders it, and watches for changes via the parent-directory notify watcher in crate::watcher.
parser
renderer
styler
watcher
File watcher for the GPUI hot-reload path.

Structs§

ComponentDef
A named component extracted from a multi-component file.
ComponentFile
Parsed multi-component .crepus file.
ComponentMeta
Metadata and default prop values for one component parsed from TOML frontmatter.
TemplateContext
A runtime variable context passed to the template renderer. Variables can be strings, booleans, numbers, or lists of contexts.

Enums§

TemplateValue

Functions§

parse_component_file
Parse a multi-component .crepus file into a ComponentFile.
parse_template