Skip to content

Expose Python interface for other Rust applications? #3

@kylebarron

Description

@kylebarron

👋 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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions