-
Notifications
You must be signed in to change notification settings - Fork 12
Fix lints and remove doc_auto_cfg
#191
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
Conversation
Seems this has been removed and recent nightly compiler won't build this crate as is. Some random post says use `doc_cfg` instead but we have that already so just remove the `doc_auto_cfg`. I didn't think too hard about this. ref: https://users.rust-lang.org/t/fallout-from-removal-of-doc-auto-cfg/134435
|
There has been a bit of work here, instead of backporting this to 0.3.0 shall we just cut a 0.4.0 @apoelstra? |
This macro is only used in the file it is defined, remove the unnecessary re-export. Found by recent nightly `clippy`.
9a70755 to
a43841f
Compare
Recent clippy is erroring with: error: unexpected `cfg` condition name: `rust_version` Config clippy in the manifest as is customary.
Update nightly to verify that it builds now that `doc_auto_cfg` has been removed.
a43841f to
b79a0e1
Compare
|
We probably have to backport the |
apoelstra
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.
ACK b79a0e1; successfully ran local tests
|
Ah true that, I'll do a backport then we can release either or both? |
|
Shall we give this a few days and see what happens in the community first? |
|
Nah, let's just work on backporting. But we don't need to be too urgent about it. |
|
@tcharding can we get a 0.3.1 out with this pls? |
|
Done in #194, the lint patch didn't apply. Lets see what CI says. EDIT: For clarity, backport done in 194 also. |
rust-bitcoinis failing to lint and docs build with a recent nightly toolchain because of this crate.Fix both issues then update nightly to prove its ok.