-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
Remove ring subsubdependency when using actix-multipart. #895
Remove ring subsubdependency when using actix-multipart. #895
Conversation
You can disable default features in your project. actix-multipart is not appropriate place to do that |
I know I can disable default features in my project. The issue is that actix-multipart re-enables the secure-cookies feature in actix-web which results in actix-http using ring. For example, if I start with the following
and swap out
Then run I run
Which removes Therefore, implying that the default features are re-enabled by actix-multipart without my change. How else does one fix this? |
seems it is not possible to disable default features |
could you update changes.md |
4937a97
to
49bc46c
Compare
49bc46c
to
baba8d1
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thanks
Hello, sorry to bother your. Could you publish actix-multipart 0.1.3 to the crates.io? It still stays in 0.1.2. |
actix-web 1.0.2 does not depend on ring by default anymore |
Actually, I'm using actix-web without any default features right now. But I still getting many unused dependencies from actix-multipart. So I want to upgrade to actix-multipart 0.1.3 and get rid of them. |
This is related to #741.
Setting the default features to false seems like an anti-pattern but it doesn't seem to be a feature to disable single features in cargo yet.