Closed calops closed 1 year ago
Hey @calops, this is some pretty great stuff! Just one question, previously I had a libs.rs
file for the libs
folder and then for different folders inside the libs
folder, I had different files that pointed to those folders. Now you've changed it so that instead of libs.rs
there is a mod.rs
file in the libs
folder. I just want to know the reason behind it? Does it improve compile times, make it execute faster, make it more cleaner?
PS: I didn't mean to make a new commit. I was experimenting with the octo.nvim
plugin and instead of making a suggestion, I made the change and created a new commit. Still getting used to NeoVim
(not him)
mod.rs
is generally cleaner, as it avoids naming a module twice. It is also easier to rename.
Oh okay, thx for the info!
Yep, it's more idiomatic that way and as they said, easier to rename the module.
As I talked about before, this defines a new
FromLua
macro in thestrata_derive
crate, and removesserde
.There's still work to do to remove some boilerplate but it should be as functional as before.