3 unstable releases
0.2.2 | Aug 31, 2020 |
---|---|
0.2.1 |
|
0.2.0 | May 6, 2020 |
0.1.0 | Mar 25, 2019 |
#355 in Build Utils
2,880 downloads per month
Used in 6 crates
6KB
87 lines
Retrieves the Cargo manifest path by parsing the output of cargo locate-project
.
Example:
use locate_cargo_manifest::locate_manifest;
let manifest_path = locate_manifest().expect("failed to retrieve cargo manifest path");
assert!(manifest_path.ends_with("Cargo.toml"));
Dependencies
~145KB