did you account for unit tests that exist inside the same files as main code
Now that you mention it, no. If those are in there, they're probably being included as main code for Diesel.
regarding http framework, checkout rocket you will love how nice api it provides.
I did look into both Rocket and Actix-web when I was hoping to use Rust for my next project. Both of them seemed decent. I had a couple gripes with each, but ultimately the reason I ended up choosing Crystal for it instead was Diesel (not just that it doesn't have everything yet, but the issue of requiring multiple copies of each model definition, and the authors seem to have a different vision of what should be in a ORM than I do).
Log in to continue
We're a place where coders share, stay up-to-date and grow their careers.
github.com/diesel-rs/diesel/blob/m...
😆 8.5K lines.
did you account for unit tests that exist inside the same files as main code
regarding http framework, checkout rocket you will love how nice api it provides.
Now that you mention it, no. If those are in there, they're probably being included as main code for Diesel.
I did look into both Rocket and Actix-web when I was hoping to use Rust for my next project. Both of them seemed decent. I had a couple gripes with each, but ultimately the reason I ended up choosing Crystal for it instead was Diesel (not just that it doesn't have everything yet, but the issue of requiring multiple copies of each model definition, and the authors seem to have a different vision of what should be in a ORM than I do).