Our great sponsors
-
Ultimately the resulting code was pretty neat and just 100 lines of code which I think is respectable for the program that I wanted to create (source code) (would like to hear from proper rustaceans how it looks 🙈)
-
You can find third-party crates on crates.io or on lib.rs. lib.rs is an alternate frontend to crates.io (the listed crates are the same). IMO, lib.rs has a nicer UI and does a better job of ranking search results.
-
SonarLint
Clean code begins in your IDE with SonarLint. Up your coding game and discover issues early. SonarLint is a free plugin that helps you find & fix bugs and security issues from the moment you start writing code. Install from your favorite IDE marketplace today.
-
In conclusion, ChatGPT is still far from be able to give good guidance in writing effective Rust code. If you really went to write Rust code, you will be better served by reading The Book first.