library for truly rust developers
The library brings some features of the Rust language to Python, making the development experience more familiar.
from rustify import Result
result = Result.ok("Hello, World")
print(f"Result: {result.unwrap_or("Goodbye, World")}")- Result class — Rust-like error handling
- Option class — represents an optional value
- Test system — simple and convenient system
- Cfg decorator — replacing the
#[cfg(...)]attribute
Check wiki
- Clone the repository:
git clone https://github.com/maslina524/rustify- Navigate to the project folder:
cd C:/.../rustify/- Install the library:
pip install .