Skip to main content

parse_file

Function parse_file 

Source
pub fn parse_file(path: impl AsRef<Path>) -> Result<Config, ConfigError>
Expand description

Parse a .krypt.toml from disk.

Runs syntactic parse + semantic validation. The returned Config is ready to feed into the include pass (#10) and path resolver (#11).