rust macros are magic
https://www.youtube.com/watc...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 https://youtu.be/MWRPYBoCEaY
Declarative Macros in Rust by @letsgetrusty https://youtu.be/KsJHlqULpO4
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: https://patreon.com/Tantandev
⁍ Monero: 43Ktj1Bd4Nkaj4fdx6nPvBZkJewcPjxPB9nafnepM7SdGtcU6rhpxyLiV9w3k92rE1UqHTr4BNqe2ScsK1eEENvZDC3W1ur
My discord group:
https://discord.gg/9P8QSYf
#gamedev #rustlang