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 |
#396 in Network programming
144 downloads per month
Used in cratest
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
~591K SLoC