-
-
Notifications
You must be signed in to change notification settings - Fork 19
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
Broken configuration of atomics with tokio/bytes #51
Comments
@mchodzikiewicz, please check this out and see if we can resolve it. I would appreciate the help. |
I can reproduce it in my project for |
@jklmnn there was It resolved my reproducer but I am not sure if it is universal |
Also, do you have a specific reason to use That's not a solution for this specific issue but rather a hint I want to say out loud. I find avoiding usage of |
@mchodzikiewicz The atomic error is gone with bytes 1.10 however now I get
This problem starts to appear with 9f70f89. The commits before it work just fine. If I remove the explicit dependency to
Mostly because the README said so. But it doesn't seem to make a difference if I remove |
The problem seems to be that 9f70f89#diff-2e9d962a08321605940b5a657135052fbcef87b5e360662bb527c96d9a615542L25 makes
It builds and runs just fine with the latest commit. Tbh I'm not sure why you changed it to be non-optional, so I can't say whether this breaks something else. |
Yup, that's it - it's a rebase artifact I didn't catch, sorry, issue a PR that brings back |
I opened #52. |
I'm currently using this crate on an rp2040 and noticed that with the latest master release here I get the following errors:
I'm using tokio-rs/bytes@16fd473 (see tokio-rs/bytes#467) and it works fine with mqttrs 0.4.1. It breaks with master and the problematic change seems to be 9f70f89 by @mchodzikiewicz. I see that there is 6e06377 but it doesn't seem to address the problem fully. Unfortunately I don't understand enough of the inner workings of Cargo to provide a fix.
My
Cargo.toml
isThe text was updated successfully, but these errors were encountered: