Macro manifest_dir_macros::directory_relative_path[][src]

directory_relative_path!() { /* proc-macro */ }

Allows input a relative path. It will be relative to the CARGO_MANIFEST_DIR (a directory where your Cargo.toml located). Returns an absolute path, and it must be a directory.

Multiple components can be input by using commas to separate them.