macro_rules! parse_env {
() => { ... };
($project:expr) => { ... };
}
Expand description
Parses the compile-time environment into an instance of InstallDirs. Note: This returns an owning structure and is not const. Likely you will want to either store this, or it’s canonical representation, Inside a lazy_static!.
This uses the default installation configuration, see InstallDirs::defaults()
If a package name is specified as an expression, it uses the defaults for that package name, InstallDirs::with_project_name()
.