escargot - Rust (original) (raw)

Expand description

§Escargot: A Cargo API

§Features

Features:

§Why escargot

Compared to depending on cargo:

§Relevant crates

Other related crates:

§Example

escargot::CargoBuild::new()
    .bin("bin")
    .current_release()
    .current_target()
    .manifest_path("tests/fixtures/bin/Cargo.toml")
    .target_dir(target_dir.path())
    .exec()
    .unwrap();

error

Error reporting API.

format

Serialization formats for cargo messages.

Cargo

Top-level command.

CargoBuild

The build subcommand.

CargoRun

The run subcommand (emulated).

CargoTesttest_unstable

The test subcommand (emulated).

CommandMessages

Messages returned from a cargo sub-command.

Message

An individual message from a cargo sub-command.

CURRENT_TARGET

The current process’ target triplet.