-
-
Notifications
You must be signed in to change notification settings - Fork 275
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Provide more guidance on which kind of bindings to use #1397
Comments
Ah thanks, I did indeed miss that page. I mistakenly interpreted the sidebar of the user guide to be a table of contents for the current page (just because I saw "Contributing" to be the last section of both). Ok great that page is indeed helpful but I think it could be more explanatory for people who are unfamiliar with the various binding technologies. And I still think that What do you think should |
Sure, added in #1403. |
Yeah it's also getting complicated now that maturin also supports bin bindings that uses I'd like to do some refactoring after pushing out a 1.0 release. |
Closing for now, feel free to send pull requests to improve the code or docs, thanks! |
Running
maturin init
ormaturin new
currently gives the following prompt:I think it would make sense to link some website that explains the differences (advantages/disadvantages) of these various bindings. Perhaps in a new section in the user guide? https://pyo3.rs/v0.17.3/rust_cpython.html would probably be a good page to link from that section but ideally the section would also explain (or link pages that explain) the differences between cffi, uniffi, etc.
Lastly as I understand it the
bin
option actually isn't a binding at all, so this should probably be better explained in the CLI prompt. And it also does not appear to be documented in the user guide.The text was updated successfully, but these errors were encountered: