-
-
Notifications
You must be signed in to change notification settings - Fork 14
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
Lints #116
Lints #116
Conversation
…egration. Added rust's base `future-incompatible` and `rust_2018_idioms` to CI (although redundant from 1.74).
Lint fixes for tests (now exposed via cargo from rust 1.74).
@naomijub please delete branch https://github.com/naomijub/edn-rs/tree/lints this is the correct/cleaned version |
I tried to, but @naomijub has to do it, I don't have access to the repo Settings page 😕 |
WOW, I can't do it as well. Let me check if there is a way to delete it EDIT: |
I think it'd be nice to remove those rulesets on non-master branches (which allow for cleaning up commits, quick mistakes like this missing async, etc). In particular allowing --force. I don't really mind doing my messy --force elsewhere too. The most strict rules are great for master. Speaking of me missing async @naomijub what was the purpose of the async feature? I keep forgetting to check it because it's not really on my mind. I'm either missing something or maybe it's a legacy thing from pre-2018? I know rust async has gone through a rough road. From my understanding, there's no point in making anything in this library async because serialization and deserialization require all data to be fully Just as an example, off master right now Cargo.toml
main.rs
fully works as expected, without the feature. |
I removed the delete rule. Async feature was created before async await was fully stable, so I guess now they are useless |
I will clean it up, depending on what we do with #117 |
Added lints
future-incompatible
andrust_2018_idioms
and appropriate changes.https://blog.rust-lang.org/2023/11/16/Rust-1.74.0.html#lint-configuration-through-cargo
Now using cargo's lint configuration from 1.74. In the near future, the CI can also be changed to