Rust Programming - Macros Quick Dev Tips

preview_player
Показать описание
Here are some tips for Rust Programming Macros development.

- 00:00 - Intro
- 00:14 - Install Cargo Expand & Nightly
- 00:45 - The example to macro-ify
- 03:15 - First macro rules
- 03:51 - Quick Dev & Cargo Expand
- 07:19 - Conclusion

Jeremy Chone:

Other popular Rust Programming videos:

Playlists:

Рекомендации по теме
Комментарии
Автор

I did not know about cargo watch. This is a very useful tip! Thanks

nilshaberstroh
Автор

This is great, I was always afraid to write macros.

ozkavoshdjalla
Автор

I have not written macros yet, but this workflow seems incredibly for other people like me who are still learning the fundamentals.

Thank you for sharing

JeffJeffMe
Автор

Seriously, any rust dev will subscribe to this channel. This is the only man who serves raw content.

midewestmond
Автор

this is exactly the content I need. thanks so much!

warlordlama
Автор

so glad i found your channel!! love your content!

irlshrek
Автор

Didn't work on Mod quick_dev tricks of yours.
that
It gave me the error of
Found argument 'mac::quick_dev' which wasn't expected, or isn't valid in this context

It seems ANY ARGUMENTS I tried to execute here is not working at all. I tried with Cargo watch document command and it didn't work as well.

My cargo watch version is
cargo-watch 8.1.1

Pakeevid
Автор

wait, you are using 2space tabs? what kind of monster are you? :O jk

ashrasmun