-
Hi, I have a pure rust script that I'd like to include in my release. What is the right way to do this? I see https://maturin.rs/metadata.html#add-console-scripts, but that created a console script (i.e. with python binding). Per python-packaging.com:
Thanks! |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 4 replies
-
What's your current setup? If you just want to distribute a Rust binary, you can use |
Beta Was this translation helpful? Give feedback.
-
@mlucool would you mind sharing your workaround? I have a workspace few crates one of which is a binary and one is the python wrapper. Not sure how to include the bin file from the binary crate. Thanks |
Beta Was this translation helpful? Give feedback.
What's your current setup?
If you just want to distribute a Rust binary, you can use
bin
bindings. But if you want to distribute a Python extension and a Rust binary that's not implemented yet, see #368.