📝 Get your *FREE Rust cheat sheet* : www.letsgetrusty.com/cheatsheet
@Joe_Skeen Жыл бұрын
Great video! One comment: at 5:05 when you say that the Cargo.lock in the workspace ensures that all your crates use the same version of the dependency, that's not strictly true. Each crate in your workspace has its own Cargo.toml file which may declare a different version of the dependency. This creates no build-time or run-time error, but you will see in the Cargo.lock file that there is one entry for each version depended on for that library. I think what you could say about the single Cargo.lock file is that it only downloads a single copy of each combination of library + version.
@adanjsuarez3 жыл бұрын
Workspace is a powerful tool, indeed! My mind is flying thinking at the possibilities and how I would apply it in my projects. Thanks for sharing!
@MohammedAhmed-id1ry7 ай бұрын
the workspace feature is great, and thank you for your great explaination
@albedobond38273 жыл бұрын
Wow!! This is a best useful tutorial for Rustacean!!
@dabzilla053 жыл бұрын
GREAT content as always. In particular, I was having trouble actually calling the package in my main file after splitting it into a workspace. IDK if it was necessary to cover cargo install in this video but it didn't hinder my experience
@jobrown043 жыл бұрын
This has been incredibly useful! Going to re-work my existing rust project to use workspaces
@riscnx2 жыл бұрын
This is very helpful video man
@Erfa3 жыл бұрын
Very useful! Is workspaces a good solution if I want to publish one package of my project as open source, and keep the rest closed? I guess I would have to use git submodules to link in the open source libs to my closed source workspace. Or maybe there's a better solution for that?
@krtirtho3 жыл бұрын
Wow, its like yarn workspaces if we compare it to the web development world. Awesome
@nadejdapandelieva22493 жыл бұрын
Hey Bogdan, what extension you use in order to be displayed automatically the variable type
@dibyojyotibhattacharjee53493 жыл бұрын
Hey, pls do a cli app in which the computer, switches on the caps lock, num lock and etc....