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

the multipart crate is unmaintained #1858

Open
decathorpe opened this issue Nov 17, 2023 · 1 comment
Open

the multipart crate is unmaintained #1858

decathorpe opened this issue Nov 17, 2023 · 1 comment
Labels
dependencies Something related to dependencies rust Pull requests that update Rust code

Comments

@decathorpe
Copy link

The multipart crate (a dependency of the "upload" feature) has not been updated in over two years, the GitHub project has been archived earlier this year, and it has been officially marked as "unmaintained" in the RustSec advisory database a few months ago.

As far as I can tell, almost all projects that previously used the multipart crate (including the axum, poem, rocket, and warp crates - so basically all popular Rust web frameworks) have migrated to multer, which is also listed as a maintained alternative to multipart.

However, I'm not sure if multer provides all the functionality that was available in multipart - notably, client-side support seems to be missing. It appears that the multipart crate is only needed as a dependency because ureq does not have built-in multipart support? In that case, switching to a different HTTP client library (like reqwest) that has multipart support built-in might be an alternative.

@messense
Copy link
Member

At the moment I don't want to introduce tokio, futures and lots of other dependencies to maturin(through reqwest), I'd suggest asking ureq to add multipart support.

@messense messense added the dependencies Something related to dependencies label Nov 18, 2023
@messense messense added the rust Pull requests that update Rust code label Nov 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Something related to dependencies rust Pull requests that update Rust code
Projects
None yet
Development

No branches or pull requests

2 participants