Skip to main content

toml_file

Macro toml_file 

Source
toml_file!() { /* proc-macro */ }
Expand description

Creates a validated TomlFile wrapper.

See the examples dir of this library for some usage examples

ยงValidation Rules

  • Path must end with .toml extension
  • File must exist at compile time
  • Path must be valid Unicode
  • Both relative and absolute paths are allowed