Is there a #RustLang crate that allows me to query package metadata from either #crates.io or preferably the local #cargo package index easily? My usual search strings didn't reveal anything useful. Use case is that I want to filter crates in my dependency tree by specific categories that can be found in the metadata. Of course it would probably be easy to implement that functionality by myself, but if somebody else already did that, why not reuse it…
#rust#crates are vulnerable to #typosquatting and #malware injection. Of course they are. Vetting software packages takes a LOT of work and needs to be rewarded.
scrolling through #showcase and #crates channels in the #bevyengine discord is so inspiring. I wish I had more time to make games with all of the cool things people make.
Looking to take your Rustlang skills to the next level?
Go beyond the basics by studying design patterns & find tips and tricks that help speed up delivery and make full use of Rust’s lesser-known features: http://mng.bz/GymA
In my 4 years of #RustLang, I've never written any macros, because I didn't felt the need to learn them and I honestly felt a little intimidated by them. 😳
But holy cow have I missed out on this feature! #Rust's (Declarative) Macros can be really useful!
I might put the one I'm currently implementing up on crates.io in the next few days. 🤞 The macro is able to simplify pattern matching in certain scenarios.