Skip to content
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

Do cleanups and fixes #14

Merged
merged 17 commits into from
Jan 10, 2024
Merged

Do cleanups and fixes #14

merged 17 commits into from
Jan 10, 2024

Conversation

tcharding
Copy link
Owner

@tcharding tcharding commented Jan 8, 2024

Something seriously strange is going on, a whole bunch of CI fails popped up but we had a green run on CI before hand???

Do a bunch of trivial cleanups, followed by:

  • commit c8f90db Box the transactions in CombineError - adds boxing to error variant types to reduce size.
  • Install clippy in CI
  • Use cargo run instead of cargo clippy in CI
  • Fix docs build

We do not have any benchmark code, remove the attribute.
We do not have any fuzz tests, remove the attribute.
I don't care either way and this lint allow references rust-bitcoin,
just remove it.
As is conventional in Rust use one level of path qualification for
`consensus` functions. Unfortunately we have to use two levels for the
error type `consensus::encode::Error` but this is a problem with
`rust-bitcoin` not here.
Make all the derives uniform, more-or-less most important thing first
and group the eq/ord/hash ones.
Add feature gate on "std" to unit tests and the an example.
@tcharding tcharding changed the title Do trivial cleanups Do cleanups and fixes Jan 10, 2024
Some how we were using `cargo clippy` instead of `cargo run` - no clue
how this was passing CI before?
@tcharding tcharding changed the title Do cleanups and fixes Do cleanups and fix CI Jan 10, 2024
@tcharding tcharding changed the title Do cleanups and fix CI Do cleanups and fixes Jan 10, 2024
@tcharding tcharding merged commit 3e3d6c8 into master Jan 10, 2024
4 checks passed
@tcharding tcharding deleted the 01-09-cleanup branch January 10, 2024 23:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant