-
Notifications
You must be signed in to change notification settings - Fork 21
chore: remove unused import and unexpected cfg warnings #89
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
base: main
Are you sure you want to change the base?
chore: remove unused import and unexpected cfg warnings #89
Conversation
|
I've assigned @tankyleo as a reviewer! |
|
🔔 1st Reminder Hey @tankyleo! This PR has been waiting for your review. |
135e619 to
0a81ba6
Compare
tankyleo
left a comment
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.
Also go ahead and delete the chore: prefix, start directly with the actual commit message thank you !
rust/api/Cargo.toml
Outdated
| _test_utils =["rand"] | ||
|
|
||
| [lints.rust] | ||
| unexpected_cfgs = { level = "forbid", check-cfg = ['cfg(genproto)'] } |
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.
Can you rebase on master, and add this to the workspace Cargo.toml ? Then here we can do a
[lints]
workspace = true
just like in rust-lightning
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.
Done.
0a81ba6 to
f94a627
Compare
|
Thanks for the review @tankyleo |
tankyleo
left a comment
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.
LGTM ! Please capitalize the first word of the commit message to keep things consistent thank you. We'll merge this right after.
De-clutters
stdoutby removing these warnings