Registry / build-tool / locate-cargo-manifest

locate-cargo-manifest

JSON →
library0.2.2rscratesunverified

Retrieves the Cargo manifest path by parsing the output of `cargo locate-project`.

# Cargo.toml [dependencies] locate-cargo-manifest = "0.2.2"
INSTALL
IMPORT
SIG · LOCATE-CARGO-MANIF
L
locate-cargo-manifest
build-toolrustv0.2.2
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

locate_manifest
use locate_cargo_manifest::locate_manifest;

Locates the Cargo.toml manifest path.

use locate_cargo_manifest::locate_manifest; fn main() { let path = locate_manifest().unwrap(); println!("{}", path.display()); }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.2.2latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
11 hits · last 30 days
node
10
OpenAI (training)
1
Resources
locate-cargo-manifest — cargo add locate-cargo-manifest · libregistry