Hi Rust community!
I recently published wordfeud-solver
: a Rust library that evaluates all possible moves given a wordfeud game board and a set of letters.
The solver is ported from a Python package. The Rust version is more than 100 times faster, and adds support for multiple languages and smart evaluation of opponent moves. Python bindings are included.
This is my first Rust project, and I would very much appreciate to get some feedback on it.
I would specifically welcome comments on:
- Advice on writing "idiomatic Rust"
- Is the code documented well enough?
- API conventions
- directory layout: I use a workspace with 2 crates: the main library in
lib/
and Python bindings inpylib/
- Any tips for improving the speed, quality or usability
You can find wordfeud-solver
on github and crates.io.
I also prepared a draft article explaining the design and operation of the software:
A fast Wordfeud Solver in Rust
Thanks in advance!