26 releases (16 breaking)

0.16.0 May 2, 2023
0.15.2 Nov 8, 2022
0.15.1 Sep 4, 2022
0.15.0 May 22, 2022
0.0.0 Jul 29, 2019

#618 in Network programming

Download history 75/week @ 2024-01-01 77/week @ 2024-01-08 49/week @ 2024-01-15 80/week @ 2024-01-22 96/week @ 2024-01-29 63/week @ 2024-02-05 66/week @ 2024-02-12 81/week @ 2024-02-19 334/week @ 2024-02-26 332/week @ 2024-03-04 106/week @ 2024-03-11 147/week @ 2024-03-18 148/week @ 2024-03-25 189/week @ 2024-04-01 58/week @ 2024-04-08 71/week @ 2024-04-15

473 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–34MB
~585K SLoC