Registry / build-tool / cargo-project

cargo-project

JSON →
library0.3.0rscratesunverified

Library to retrieve information about a Cargo project.

# Cargo.toml [dependencies] cargo-project = "0.3.0"
INSTALL
IMPORT
SIG · CARGO-PROJECT
C
cargo-project
build-toolrustv0.3.0
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.

CargoProject
use cargo_project::CargoProject;

Loads the current Cargo project and prints its name.

use cargo_project::CargoProject; fn main() { let project = CargoProject::from_path(".").unwrap(); println!("{}", project.name()); }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.3.0latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
28 hits · last 30 days
node
24
OpenAI (training)
1
Resources
cargo-project — cargo add cargo-project · libregistry