I have been working on this for a few months now and I finally got the nerve to release it. One of the things that I have been finding pretty hard to do in rust is testing of code that that has some "expensive" call, such as a network request. While I have used mockito to mock network requests, it always felt awkward to mock the requests at every layer of my tests since it made the more higher level pieces of my code know too much about what the lower level components (the ones doing the network requests) were doing. I created
faux with the goal to solve this. Now I can still use mockito to mock the network requests in one layer of my tests only, and everything above that can mock only the layer it is directly using, instead of the network request.
I am super open to feedback as this is my first library that I am releasing to the wild so I am sure I have made mistakes along the way, either in the code or in how I wrote the docs.
I hope you all take a look and let me know what you think!