Crate location_macros

Source
Expand description

§location-macros

A collection of macros for obtaining the absolute path of the project root.

Macros§

crate_dir
Expands to a string literal that contains the absolute path of the root directory of the current crate.
workspace_dir
Expands to a string literal that contains the absolute path of the root directory of the current workspace.