Registry / build-tool / escargot

escargot

JSON →
library0.5.15rscratesunverified

A Cargo API wrapper for programmatically invoking Cargo commands.

# Cargo.toml [dependencies] escargot = "0.5.15"
INSTALL
IMPORT
SIG · ESCARGOT
E
escargot
build-toolrustv0.5.15
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.

Cargo
use escargot::Cargo;

Run `cargo build` programmatically using Escargot.

use escargot::Cargo; fn main() { let result = Cargo::new().run(); match result { Ok(output) => println!("Cargo succeeded: {:?}", output), Err(e) => eprintln!("Cargo failed: {}", e), } }
Debug
Known issues
gotchaEscargot runs actual Cargo processes; ensure Cargo is installed and available in PATH.
fix
Verify Cargo installation or use `which cargo`.
affects: >=0.1.0
Upgrade
Version history
0.5.15latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
18 hits · last 30 days
node
16
OpenAI (training)
1
Resources
escargot — cargo add escargot · libregistry