28 releases (18 breaking)

0.18.0 Oct 13, 2024
0.17.0 Jul 1, 2024
0.16.0 May 2, 2023
0.15.2 Nov 8, 2022
0.0.0 Jul 29, 2019

#245 in Network programming

Download history 218/week @ 2024-07-27 67/week @ 2024-08-03 80/week @ 2024-08-10 60/week @ 2024-08-17 64/week @ 2024-08-24 130/week @ 2024-08-31 73/week @ 2024-09-07 116/week @ 2024-09-14 168/week @ 2024-09-21 161/week @ 2024-09-28 93/week @ 2024-10-05 316/week @ 2024-10-12 160/week @ 2024-10-19 38/week @ 2024-10-26 71/week @ 2024-11-02 79/week @ 2024-11-09

406 downloads per month
Used in cratest

MIT/Apache

160KB
3.5K SLoC

Rustwide

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

  • Linux and Windows support.
  • Sandboxing by default using Docker containers, with the option to restrict network access during builds while still supporting most of the crates.
  • Curated build environment to build a large part of the ecosystem, built from the experience gathered running Crater and docs.rs.

Rustwide was originally part of the Crater project, and it was extracted to let the whole community benefit from it.

Rustwide is licensed under both the MIT and Apache 2.0 licenses, allowing you to choose which one to adhere to.


lib.rs:

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!

Dependencies

~20–33MB
~590K SLoC