Manifest Dir Macros
This crate provides function-like macros to check or operate paths relative to CARGO_MANIFEST_DIR at compile time.
Examples
extern crate manifest_dir_macros;
println!;
println!;
println!;
println!;
println!;
println!;
println!;
println!;
println!;
println!;
println!;
println!;
println!;
println!;
println!;
println!;
println!;
println!;
println!;
println!;
println!;
// The `tuple` feature lets these macros above support to input nested literal string tuples, which is useful when you want to use these macros inside a `macro_rule!` macro and concatenate with other literal strings.
// `$x:expr` matchers can be used in these macros thus.
Crates.io
https://crates.io/crates/manifest-dir-macros
Documentation
https://docs.rs/manifest-dir-macros