arena-rust-toolchain
Bundled Rust 1.97.0 toolchain (rustc, cargo, clippy, rustfmt, wasm32 target) for offline use in sandboxed environments (e.g. arena.ai agents with restricted egress — no access to static.rust-lang.org / crates.io).
Install
pip install "arena-rust-toolchain[all]"
This installs this package plus 3 companion data packages
(arena-rust-toolchain-data1 … -data3) that hold the split tar.zst.
Use
import arena_rust_toolchain as art
toolchain = art.install("/opt/rust")
# toolchain = /opt/rust/prefix/rust-1.97.0-x86_64-unknown-linux-gnu
import os
os.environ["PATH"] = f"{toolchain}/bin:" + os.environ["PATH"]
What is included
| Component | Purpose |
|---|---|
rustc |
Compiler (host) |
cargo |
Package manager |
clippy (cargo-clippy, clippy-driver) |
Lints |
rustfmt (cargo-fmt) |
Formatter |
rust-std-wasm32-unknown-unknown |
std for wasm32 target |
What is NOT included
rustdoc(not needed for build/clippy/fmt)rust-analyzer(IDE-only)llvm-tools(codegen-adjacent, not needed for build)- Miri / nightly (separate toolchain, not in this package)
License
Rust toolchain: dual MIT / Apache-2.0. Packaging: MIT.
Metadata
Release files for arena-rust-toolchain 1.97.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| arena_rust_toolchain-1.97.0.tar.gz | 3.4 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| arena_rust_toolchain-1.97.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 7.2 kB
Release files / arena_rust_toolchain-1.97.0.tar.gz
| Download URL | arena_rust_toolchain-1.97.0.tar.gz |
|---|---|
| Size | 3.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
5067a14b989aa948dd5af50a371ea9c7dd56ec3d1b13a3be762ef7ba92d06f2c
|
|
BLAKE2b-256 checksum How to use checksums |
d8144e6df177f3e9675d8e31c9e83a88037d44fb617da75b48624012a168c23f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.4
|
Release files / arena_rust_toolchain-1.97.0-py3-none-any.whl
| Download URL | arena_rust_toolchain-1.97.0-py3-none-any.whl |
|---|---|
| Size | 3.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
6e6b05c89b97bafaf1cbf57d3a47acf56a526646bb60569211f889e109ce1153
|
|
BLAKE2b-256 checksum How to use checksums |
6aae49bd61a0e3fde329ccd2550b1bd4dbc5f60eca87102dd7b00d38c694f976
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.4
|
Security for arena-rust-toolchain 1.97.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.