-
Notifications
You must be signed in to change notification settings - Fork 14
Rust API #249
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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.... |
mbarger99
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
After deleting my Cargo.toml file, I was able to get the latest and now the tests and examples work for me even if spdlog is installed locally. Thanks @astrauc!
|
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)