Note
Also check out Rustbin for easy rustup shims 🚀
Work in progress!
Add to your pyproject.toml:
[project]
dependencies = [
"rustman"
]Currently it bundles all RustTarget enums:
import rustman.targets
from rustman.targets import RustTarget
option = RustTarget.x86_64_unknown_linux_gnu
option.spec # same as specs[option.value]
# All values from `rustc -Z unstable-options --print all-target-specs-json`
data = rustman.targets.specs["x86_64-unknown-linux-gnu"]
tier = data["metadata"]["tier"]
std = data["metadata"]["std"]- Rust project classes, (cross) compiling
- Figure out easy CI builds
- Integrate ZigBuild, Xwin
- Toolchain management