-
Notifications
You must be signed in to change notification settings - Fork 228
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
Cleanup #396
Cleanup #396
Conversation
- sorted alphabetically - use shorter version identifier with same meaning
- remove unused test variables - add ; at last statement - cargo fmt - same mqttoptions variable name in all examples - minor things found in #391
Anything blocking this? (Having not that much time to review is also understandable and totally valid) |
This mostly looks good to me. I prefer to freeze versions in libraries as well, atleast critical crates like tokio because I notices some upgrades causing perf bottlenecks in the past |
The version identifiers which changed in Cargo.toml have exactly the same meaning before and after the change. Both A different idea might be to replace the version requirements with a different strategy like tilde requirements and remove the lock file then. Should I revert that change in version requirements in order discuss it differently from this PR? |
@EdJoPaTo Oh yeah. Probably just use =1.33.7 for tokio? I'm only worried about the movement of tokio's version |
Remove the lock file then too when the tokio version is pinned? |
I think that lock file is related to some binary in this workspace. I think it's all cool w.r.t this library. I'll merge this tomorrow in our opensource syncup |
So the above caused some problems for me. I have another library which uses tokio transitively (dep of a dep) and since it requires 1.19, and rumqttc is now strict about using 1.17.0 -- I cant use the library. Previously, it was just at I suspect I'm probably not alone since tokio is very popular so in a complex app with lots of dependencies there's a very high chance usage of this library is now precluded with such a strict req. |
Thanks @adamscybot for bringing it up! |
Listed changes from the commits:
This should also simplify the diff of #391 (this will create merge conflicts in #391 first)