Expand description
SP configuration, especially definitions. Property definition through config file.
Structs§
Enums§
Constants§
- ANY
anytag is denied in user’s spec, and special in doc generation.- ENV_
SP_ DIR - Folder where all toml files are searched.
- ENV_
SP_ FILE - Single toml config file path.
- LOCAL_
SP_ DIR - SP folder to crate being compiled.
- LOCAL_
SP_ FILE - SP file to crate being compiled.
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. - crate_
sp_ paths - Search in the crate being compiled, i.e.
CARGO_MANIFEST_DIR/safety-tags.tomlorCARGO_MANIFEST_DIR/safety-tags/. - doc_
option - get_tag
- toml_
file_ paths - Paths to toml config.