Adding more cargo to your dev tools, learn about collections and make use of your history
Hello and welcome to the newest edition of Rust Trends, your go-to source for staying informed on the latest developments and trends in the Rust programming language. We bring you the most up-to-date news, tutorials, and expert insights to keep you in the loop on all things Rust.
Let’s dive into today’s topics and discover the latest and greatest in the world of Rust programming!
Streamlining Your Rust Development Process with cargo-edit
Managing dependencies in your Rust projects can be a time-consuming task, but it doesn’t have to be. In our latest blog post, we explore how to use cargo-edit, a powerful tool that can help simplify the process of adding, removing, and updating dependencies in your Cargo.toml file.
Learn how to use cargo add and cargo rm commands to streamline your development process and keep your dependencies up-to-date. Check it out now!
Add this tool to your belt. Interested in more cargo tools? Check out the previous newsletter editions with cargo fix or cargo watch.
Crust of Rust: std::collections, by Jon Gjengset
One of Jon’s most popular video series is called “Crust of Rust”, which is a deep-dive exploration of Rust’s standard library. In the “Crust of Rust: std::collections” video, Jon walks through the implementation of Rust’s built-in collection types, including vectors, hash maps, and more. It’s a great resource for anyone looking to gain a better understanding of how Rust’s collections work under the hood.
Here’s the link to the video.
Replace your shell history with Atuin
What’s more, Atuin offers optional and fully encrypted synchronization of your history between machines via an Atuin server, which you can host yourself or use the server provided.
And the best part? Your old history file is not replaced, so you won’t lose any of your valuable command history. With Atuin, you can access the same history across terminals, sessions, and machines and quickly jump to previous items with Alt-<num>
or switch filter modes via Ctrl-R
.
Try Atuin today and take your command history management to the next level!
Do not hesitate to explore new possibilities in Rust. Pushing yourself out of your comfort zone can be a great way to learn and grow as a programmer.
Thanks for reading!
Bob Peters
Feel free to connect with me on LinkedIn