Creating both a Python package and Rust crate #942
CarlKCarlK
started this conversation in
General
Replies: 1 comment 2 replies
-
See PyO3/pyo3#2271 |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Greetings,
I'd like to offer our genomics-related library, bed-reader, as a Rust crate. It is already a Python package via maturin.
Has anyone else created such a project?
When I set
crate-type = ["cdylib", "rlib"]
, Linux and Windows work, but MacOS fails with= note: Undefined symbols for architecture x86_64: "_PyType_IsSubtype"....
I guess I should instead create two related crates that share a Cargo workspace and repository. Is that right?
Thanks,
Carl
Beta Was this translation helpful? Give feedback.
All reactions