MysteryBlokHed / databind

Expand the functionality of Minecraft Datapacks.
https://databind.rtfd.io/en/stable
GNU General Public License v3.0
4 stars 0 forks source link

Convert Databind to a library #130

Closed MysteryBlokHed closed 3 years ago

MysteryBlokHed commented 3 years ago

Closes #129

Adds a lib.rs file with public modules and uses and updates the Cargo.toml to point to main.rs for a binary. This allows other people to use functions from the Databind library while still having the CLI without creating a new package, and also allows for testing of individual functions in the future.

MysteryBlokHed commented 3 years ago

I think that should be everything useful done. I'm not sure whether I should move the main loop from main.rs to a public function or not, but that can be done in the future if it seems like a good idea.