A pure-Rust Duckity API client.
For a more detailed documentation, check out Duckity Docs on the Rust SDK.
Installation
To add the package to your project, install it with cargo:
Quick Start
First of all, you need a Duckity application. Head over to the Duckity dashboard to create one if you don't have created it yet.
To solve a challenge, use duckity::solve.
let solution = solve.await?;
Compiling
Make sure to compile in release mode when testing challenge solving. Given solving challenges is completely CPU-bound, you will see massive differences between solving in debug and release mode (debug was x23 slower to solve in our tests).
Contributing
Contributions of any kind are welcome! Suggestions, issues, PRs, and everything else goes into our SDKs repository in GitHub.