-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
axum fails tests without default features, due to incompletely declared feature "json" #2835
Comments
There's a If we never do another 0.6.x patch release otherwise, would there even be a point to fixing this if Debian is already patching it? |
The reason I am reporting this issue is because others potentially might benefit from the bugfix currently applied to the code redistributed in Debian. If Debian is the only place in the Universe still using axum v0.6 (or using it and caring about testability of unusual build scenarios) then arguably there is no point in moving bits from Debian maintenance to upstream git. I don't know the whole universe, though, so am not sure that I am in the best position to answer that question. |
Want to send a PR then? As I said I'm happy to merge, and maybe David will put out a new release (I don't have publish access myself). |
Thanks but no: I am fine just being the messenger here. |
A related patch to cover other features than "json" exists here, in case someone finds an interest in that. |
Running
cargo test --all-targets --no-default-features
for crate axum v0.6.20 fails like this:Applying the following patch, originally provided here, makes the test succeed:
The text was updated successfully, but these errors were encountered: