Skip to content
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

Standalone Rust #1

Open
jamessewell opened this issue Aug 11, 2021 · 1 comment
Open

Standalone Rust #1

jamessewell opened this issue Aug 11, 2021 · 1 comment

Comments

@jamessewell
Copy link

I know you specifically say that this engine isn't for standalone Rust use, I'm just trying to get an understanding of what would be required to move in that direction?

@Lleyton-Ariton
Copy link
Owner

As of right now the main reason why I suggest not using it for standalone Rust is because of the interface.

The entire API of the engine was designed to be used within Python. It wouldn't even really be properly usable as a Rust library as all of the functions in the lib.rs both require and were designed around interfacing with Python.

It's more like just a collection of Rust functions that the Python library wraps around, and provides a clean interface that way (for the Python user).

The interface would need to be changed in order to make it more "Rust friendly" so that it can actually be useable as a Rust library.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants