Skip to content

Example of rust loading python and python loading rust? #2

@sthornington

Description

@sthornington

Hi! Thanks for all your work on this. Could you point me to an example of using these rules to:

  1. make a rust binary which loads a python script to call a python function?
  2. make a python extension module in rust to load and call from python?

I'm having some difficulty doing both in the same build since crate_universe wants to make the union of the pyo3 features, and if I am not mistaken, the former needs pyo3 without extension-module and the latter needs it with extension-module ?

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