You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
👋 I'm building a Rust-Python library that depends on object-store. It would be nice to reuse existing Python APIs that are built on object-store, i.e. your crate. From this comment and this comment, I think the primary way to enable this is to split into two crates: an rlib crate that contains everything but the actual #[pymodule] definition and a cdylib crate that is the actual Python module. The former would be able to be depended on by multiple pyo3 libraries, while the latter would be your existing Python package.
I know this is an increase in complexity, but are you interested in a PR for this?
The text was updated successfully, but these errors were encountered:
👋 I'm building a Rust-Python library that depends on object-store. It would be nice to reuse existing Python APIs that are built on object-store, i.e. your crate. From this comment and this comment, I think the primary way to enable this is to split into two crates: an
rlib
crate that contains everything but the actual#[pymodule]
definition and acdylib
crate that is the actual Python module. The former would be able to be depended on by multiple pyo3 libraries, while the latter would be your existing Python package.I know this is an increase in complexity, but are you interested in a PR for this?
The text was updated successfully, but these errors were encountered: