cube-rust
A high-performance, memory-safe Rust FFI wrapper for a C++ Rubik's Cube solver engine (Two-Phase Algorithm).
🚀 Features
- Idiomatic API Design: Supports both functional chaining for immutable transformations and efficient in-place mutation.
- Rich Error Diagnostics:
CubeErrorfully implementsstd::error::ErrorandDisplay, accurately exposing underlying C++ engine diagnostic messages. - Batteries Included: Zero manual C++ configuration required. Automatically compiles C++17 source code and handles static linking via
ccbuild script.
📦 Installation
Add cube-rust to your project using cargo:
Or add it manually to Cargo.toml:
[]
= "0.5.0"
💡 Quick Start
use ;