Skip to content
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

libpathrs-sys crate? #50

Open
cyphar opened this issue Aug 4, 2024 · 0 comments
Open

libpathrs-sys crate? #50

cyphar opened this issue Aug 4, 2024 · 0 comments
Labels
api/cffi Related to the C-FFI API. api/rust Related to the Rust API.
Milestone

Comments

@cyphar
Copy link
Member

cyphar commented Aug 4, 2024

It might actually make sense to provide a libpathrs-sys crate which uses the cdylib to provide the regular libpathrs API. This is because the Rust crate is licensed LGPLv3-or-later, which will probably cause some issues for Rust programs that want to ship binaries (in practice an open source binary won't have issues because you are not forced to make the entire project LGPLv3, but I suspect a lot of people wouldn't bother).

If we do, in theory we could also solve #46, though I suspect you can't get cross-crate coverage...

@cyphar cyphar added api/cffi Related to the C-FFI API. api/rust Related to the Rust API. labels Aug 4, 2024
@cyphar cyphar added this to the 1.0.0 milestone Sep 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api/cffi Related to the C-FFI API. api/rust Related to the Rust API.
Projects
None yet
Development

No branches or pull requests

1 participant