Page 1 of 1

Adding a cargo.toml like file to mods?

PostPosted: Sat Jan 23, 2016 02:25
by benrob0329
Cargo (the Rust package manager) has a file that defines the package, dependencies, and such.

If Minetest used such a file, dependencies could be downloaded automatically from a GitHub link.

http://doc.rust-lang.org/book/hello-cargo.html

https://github.com/toml-lang/toml

Re: Adding a cargo.toml like file to mods?

PostPosted: Mon Jan 25, 2016 16:20
by Evergreen
That is the intention of mod.conf which is currently implemented in minetest. However, it is not used for anything more than setting the name of the mod.