Macro manifest_dir_macros::relative_path[][src]

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.

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