AI-powered
podcast player
Listen to all your favourite podcasts with AI-powered features
Using a Crate in Rust 20 20
When adding functions to the center library, think about what crates does everyone depend on, transitively or otherwise? How can we sort of like, is there any functionality from those crates that would benefit a lot of use cases, while also potentially reducing some dependency grafts? And so my current favorite example is the lazy crate, or thega one cell, which provides a lazy type. It's entirely a and it's a mackro free way of doing what lazy static currently does. The matches crate just tells you whether or not some pattern will match some value. So i think now that it is actually either already included, or being proposed for inclusion in stood in knightly a as