Skip to main content

Module syntax

Module syntax 

Source
Expand description

The syntax of lean!, shared by the macro and the build script.

Structs§

LeanBlock
A lean! block:

Functions§

file_hash
The first 16 hex digits of the SHA-256 of rel_path (the path of a Rust file relative to the crate root, with / separators): the directory of the file’s blocks in OUT_DIR.
normalize_path
rel_path with / separators.