Cargo Workspaces

  Рет қаралды 23,945

Let's Get Rusty

Let's Get Rusty

Күн бұрын

Пікірлер
@letsgetrusty
@letsgetrusty 3 жыл бұрын
📝 Get your *FREE Rust cheat sheet* : www.letsgetrusty.com/cheatsheet
@Joe_Skeen
@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.
@adanjsuarez
@adanjsuarez 3 жыл бұрын
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-id1ry
@MohammedAhmed-id1ry 7 ай бұрын
the workspace feature is great, and thank you for your great explaination
@albedobond3827
@albedobond3827 3 жыл бұрын
Wow!! This is a best useful tutorial for Rustacean!!
@dabzilla05
@dabzilla05 3 жыл бұрын
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
@jobrown04
@jobrown04 3 жыл бұрын
This has been incredibly useful! Going to re-work my existing rust project to use workspaces
@riscnx
@riscnx 2 жыл бұрын
This is very helpful video man
@Erfa
@Erfa 3 жыл бұрын
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?
@krtirtho
@krtirtho 3 жыл бұрын
Wow, its like yarn workspaces if we compare it to the web development world. Awesome
@nadejdapandelieva2249
@nadejdapandelieva2249 3 жыл бұрын
Hey Bogdan, what extension you use in order to be displayed automatically the variable type
@dibyojyotibhattacharjee5349
@dibyojyotibhattacharjee5349 3 жыл бұрын
Hey, pls do a cli app in which the computer, switches on the caps lock, num lock and etc....
@saaddahmani1870
@saaddahmani1870 2 жыл бұрын
Realy greate.. thanks.
@sonicsplasher
@sonicsplasher 10 ай бұрын
But what problem does this solve?
@arimcbrown
@arimcbrown 2 жыл бұрын
Almost there... just a few more
@GolangDojo
@GolangDojo 3 жыл бұрын
Lol your fake ass email
The Box Smart Pointer in Rust
12:18
Let's Get Rusty
Рет қаралды 76 М.
Concurrency in Rust - Creating Threads
10:41
Let's Get Rusty
Рет қаралды 58 М.
Непосредственно Каха: сумка
0:53
К-Media
Рет қаралды 12 МЛН
УНО Реверс в Амонг Ас : игра на выбывание
0:19
Фани Хани
Рет қаралды 1,3 МЛН
Publishing a Rust Crate!
14:02
Let's Get Rusty
Рет қаралды 23 М.
Using Trait Objects in Rust
13:32
Let's Get Rusty
Рет қаралды 42 М.
Common Collections in Rust
24:55
Let's Get Rusty
Рет қаралды 87 М.
Iterators in Rust
13:25
Let's Get Rusty
Рет қаралды 54 М.
Concurrency in Rust - Sharing State
9:12
Let's Get Rusty
Рет қаралды 38 М.
Procedural Macros in Rust
11:33
Let's Get Rusty
Рет қаралды 46 М.
Closures in Rust
19:53
Let's Get Rusty
Рет қаралды 82 М.
Smart Pointers in Rust - Reference Counting
8:41
Let's Get Rusty
Рет қаралды 26 М.
Rust's second most complicated feature explained
7:48
Let's Get Rusty
Рет қаралды 38 М.
Build your entire tech stack in Rust
7:22
Let's Get Rusty
Рет қаралды 229 М.
Непосредственно Каха: сумка
0:53
К-Media
Рет қаралды 12 МЛН