Code review request

Hey Rustaceans! :wave:

I've been working on a project called lost-pixel-diff, a CLI tool written in Rust :crab: that wraps the functionality of lost-pixel for visual regression testing of Storybook, Ladle stories, and application pages.

The backend is powered by Actix Web, which exposes API endpoints for interacting with the lost-pixel tool and serves an embedded React frontend for reviewing visual differences.

Iā€™d love to get some feedback on the Rust backend implementation, specifically regarding Lib structure, API structure, and overall code quality.

Additionally, Iā€™d appreciate any thoughts on the LostPixelClient::generate method. Iā€™m curious if there might be more optimal or idiomatic ways to achieve the same functionality.

You can find the repository here. Any insights, critiques, or suggestions would be incredibly helpful!

By the way, this is my capstone project for the bootcamp organized by the Ukrainian Rust Community, it would be amazing if you could leave your review in this PR and, if everything looks good, give an approval :+1:

Thank you in advance for your time and feedback!

2 Likes

Link to the LostPixelClient::generate method.