Rust API#249
Conversation
Subscriber
|
Thanks @astrauc, looks good so far. A couple quick requests if you have time:
|
| @@ -0,0 +1,25 @@ | |||
| # Rust for Gravity | |||
There was a problem hiding this comment.
Missed this file at first glance - this covers the setup notes I asked for.
|
I have the text for the examples already ready as well, just have to move them over! I can also move the notes for the setup into the wiki for simplicity |
|
It would be good to mention someplace that we have a dependency on at least cargo version 1.85 (edition 2024) - or am I missing something? apt install on Ubuntu 24.04 installs 1.75.0, so would be good to give a heads up. And some environments make installing with https://sh.rustup.rs challenging.... |
|
The windows build for this fork is failing because https://cytranet.dl.sourceforge.net/ (where some windows dependencies live) seems to be offline. I don't think it has anything to do with the changes here. Will kick off the build again later when that site is hopefully back online. |
Callable rust API. Includes small changes to the
CMakeLists.txtfiles in root,srcfolder,api/cppfolder, andkeyvalue_parserfolder.Changes to cmake mainly add another option for building, such as build for static linking and building only the libraries. Changes to keyvalue_parser modify where it writes files to (changed to modify to the build tree instead of the source tree)