Metadata-Version: 2.4
Name: rustman
Version: 0.2.0
Summary: 🦀 Rust classes and utils
Project-URL: GitHub, https://github.com/BrokenSource/Rustman
Author: Tremeschin
License-Expression: MIT
Requires-Python: >=3.10
Requires-Dist: attrs
Requires-Dist: tomlkit
Description-Content-Type: text/markdown

> [!NOTE]
> Also check out [Rustbin](https://github.com/BrokenSource/Rustbin) for easy rustup shims 🚀

Work in progress!

## Usage

Add to your `pyproject.toml`:

```toml
[project]
dependencies = [
    "rustman"
]
```

Currently it bundles all RustTarget enums:

```python
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"]
```

## Roadmap

- [ ] Rust project classes, (cross) compiling
- [ ] Figure out easy CI builds
- [ ] Integrate ZigBuild, Xwin
- [ ] Toolchain management
