Nine Rules for Generalizing Your Rust Library (Part 2)
Lessons from Extending RangeSetBlaze to Maps Storing Unicode keys and color values in a tree. In a real font-mapping tree, each key (character) would appear only once. — Credit: DALL-E This is Part 2 of an article about generalizing Rust libraries. (See Part 1 ). In this part, we will look at rules 6 to 9: 6. Create (Even) More Rust Iterators Than You Expect. 7. Do Go Forward. Benchmark as You Generalize. 8. Move Forward on Versions: Your Crate, Dependencies, and Rust. 9. Update Docs and Coverage. Recall fr
评论
?
参与讨论