What's the recommended mixed project layout for multiple Rust extensions? #2126
Answered
by
messense
DavidAntliff
asked this question in
Q&A
-
Issue #490 led to a change in the recommended mixed project layout. Specifically, for a Python subdir within a Rust top-dir:
How is this intended to work when there are multiple independent Rust extensions in a single Python project? I.e. multiple sub-directories with independent Is the following layout supported?
|
Beta Was this translation helpful? Give feedback.
Answered by
messense
Jun 28, 2024
Replies: 1 comment 3 replies
-
No support for multiple extension modules in multiple Cargo projects yet, however you can use one Cargo project and add other modules as submodules. |
Beta Was this translation helpful? Give feedback.
3 replies
Answer selected by
DavidAntliff
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
No support for multiple extension modules in multiple Cargo projects yet, however you can use one Cargo project and add other modules as submodules.
For example: https://github.com/pyca/cryptography/blob/541beda62fde26ee16f98092e553a17cac8e8943/src/rust/src/backend/mod.rs#L28-L53