Module configuration

Source
Expand description

SP configuration, especially definitions. Property definition through config file.

Structs§

Configuration
Key
Data shared in #[safety] proc macro.
Package
Tag

Enums§

TagType

Constants§

ENV_SP_DIR
Folder where all toml files are searched.
ENV_SP_FILE
Single toml config file path.

Statics§

TAGS

Functions§

config_exists
If ENV_SP_DIR or ENV_SP_DIR is provided, check tag and emit #[doc] for each tag. If neither is provided, do nothing.
get_tag
toml_file_paths
Paths to toml config. Pass one of these env vars:

Type Aliases§

OptStr
Str