[][src]Crate rustwide

Rustwide is a library to execute your code on the Rust ecosystem, powering projects like Crater and docs.rs.

Feature flags

Rustwide provides some optional features that can be enabled with Cargo:

  • unstable: allow Rustwide to use unstable Rust and Cargo features. While this feature also works on Rust stable it might cause Rustwide to break, and no stability guarantee is present when using it!
  • unstable-toolchain-ci: allow fetching toolchains from rustc's CI artifacts storage. Support for them is incomplete (not all methods might work), and there is no stability guarantee when using them!

Re-exports

pub use crate::toolchain::Toolchain;

Modules

cmd

Command execution and sandboxing.

logging

rustwide's logging system and related utilities.

toolchain

Tools to manage and use Rust toolchains.

Structs

Build

API to interact with a running build.

BuildBuilder

Builder for configuring builds in a BuildDirectory.

BuildDirectory

Directory in the Workspace where builds can be executed.

Crate

A Rust crate that can be used with rustwide.

Workspace

Directory on the filesystem containing rustwide's state and caches.

WorkspaceBuilder

Builder of a Workspace.

Enums

PrepareError

Error happened while preparing a crate for a build.