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

🚚 Move pyo3 functions to src/python/adapters.rs #9

Merged
merged 1 commit into from
Mar 13, 2024

Conversation

weiji14
Copy link
Owner

@weiji14 weiji14 commented Mar 13, 2024

Removing all pyo3 wrapper code from src/lib.rs, and putting them in src/python/adapters.rs instead to more clearly separate Rust and Python bindings.

This will make it easier to have a python feature flag in the future to turn off compiling any Python-related bindings for those who only care about the Rust stuff (that feature flag will be added in the future once API has stabilized a bit more).

Also created a path_to_stream function to isolate the object_store code from the ndarray conversion code.

Removing all pyo3 wrapper code from src/lib.rs, and putting them in src/python/adapters.rs instead to more clearly separate Rust and Python bindings. Also created a path_to_stream function to isolate the object_store code from the ndarray conversion code.
@weiji14 weiji14 added maintenance skip-changelog Skip adding Pull Request to changelog labels Mar 13, 2024
@weiji14 weiji14 added this to the 0.1.0 milestone Mar 13, 2024
@weiji14 weiji14 self-assigned this Mar 13, 2024
@weiji14 weiji14 changed the title 🚚 Move pyo3 functions under src/python/adapters.rs 🚚 Move pyo3 functions to src/python/adapters.rs Mar 13, 2024
@weiji14 weiji14 marked this pull request as ready for review March 13, 2024 22:12
@weiji14 weiji14 merged commit d02dd13 into main Mar 13, 2024
13 checks passed
@weiji14 weiji14 deleted the move-python-adapters branch March 13, 2024 22:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
maintenance skip-changelog Skip adding Pull Request to changelog
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant