Repository navigation
v3.1.1: lint-clean without suppressions, tests build without std, packaging tidied - #13
Merged
Merged
Conversation
… and clippy config, and deny the lints it requires
…y bound; long crate and module docs move to docs/ and are included, so docs.rs shows the same text
…suppressions, and keep only comments that explain why
…override the toolchain each job tests
…t the std feature, as the publish workflow's cargo test --no-default-features requires.
…kflow requires before a release.
… off the yanked 0.9.18.
…e step moves to action-gh-release v2
|
Codecov Report❌ Patch coverage is
📢 Thoughts on this report? Let us know! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Patch release. The public API is unchanged, checked by comparing rustdoc JSON item by item against main.
Code (no behaviour change)
#[allow]suppressions are gone. Lints are satisfied with exact equivalents:cast_signed,unsigned_abs,.get()table lookup, andasin_unguardedinstead of#[inline(always)].#[no_panic]now applies only whendebug_assertionsis off. The no-panic-check profile still proves every public function panic-free.Docs
docs/*.mdand are included withinclude_str!, so docs.rs shows the same text.AtLeastOne;tan's overflow distance;expandpow2zero thresholds.Tests and CI
Resultinstead of unwrapping, using the crate's ownError, socargo test --no-default-featuresbuilds. The publish workflow requires that, and CI now runs it too.RUSTUP_TOOLCHAIN, so the committedrust-toolchain.toml(1.99.1, for local checks) doesn't override the matrix, MSRV or publish toolchains.Packaging and release
rust-toolchain.toml,clippy.toml,codecov.ymland.github/are excluded from the crate.softprops/action-gh-release@v2.Checked locally
cargo testwith default and no default features;RUSTUP_TOOLCHAIN=1.95 cargo check --locked --features std;cargo package;