rust macros are magic
Tantan Tantan
41.1K subscribers
45,817 views
0

 Published On Jul 13, 2023

Rust macros are magic.
I want to show you a real life application of a powerful rust macro I put together, that handles spell assets in the bevy game engine.

If you want to learn more about macro programming with Rust I recommend checking these videos out:
Rust's Witchcraft by ‪@NoBoilerplate‬    • Rust's Witchcraft  
Declarative Macros in Rust by ‪@letsgetrusty‬    • Declarative Macros in Rust  

rust libraries used in this video:
bevy (game engine)
serde (serialization + deserialization)
ron (file format, similar to json. Ron integrates awesomely with rust)

Support me!
⁍ Patreon:   / tantandev  
⁍ Monero: 43Ktj1Bd4Nkaj4fdx6nPvBZkJewcPjxPB9nafnepM7SdGtcU6rhpxyLiV9w3k92rE1UqHTr4BNqe2ScsK1eEENvZDC3W1ur

My discord group:
  / discord  

#gamedev #rustlang

show more

Share/Embed