Repository navigation
Added
- Fuzz targets for the string parsers
- Signed release assets
.github/CODEOWNERS
Fixed
Combo::from_strno longer prints to stdout
Full changelog
Added
- Fuzz targets for the string parsers (
fuzz/, OpenSSF Scorecard
"Fuzzing"). Twocargo-fuzztargets feed random text to the card parsers
(Cards,Board,HoleCards,Five,Seven, then rank the hand) and the
range parsers (Combos,WeightedCombos, then expand toTwos). A first
60-second run of each found no panic.fuzz/is its own workspace, like
perf/, and is not in the published crate. Run it withmake fuzz
(nightly andcargo install cargo-fuzz); lint it withmake fuzz-check. - Signed release assets (Scorecard "Signed-Releases").
release.ymlnow
makes a keyless Sigstore signature with SLSA build provenance over
coverage-html.tar.gzandlcov.info, and attaches the bundle as
pkcore-vX.Y.Z.sigstore.json. Check an asset with
gh attestation verify lcov.info -R ImperialBower/pkcore. Releases before
0.20.5 stay unsigned. .github/CODEOWNERS, so the "Require review from Code Owners" branch
rule has an owner to ask.
Fixed
Combo::from_strno longer prints to stdout. An unknown range token
printedUnable to process …before it returned
Err(PKError::InvalidComboIndex), so every caller ofCombo,Combosand
WeightedCombosparsing got output it did not ask for. The fuzz run found
it: 1.9 million lines in 60 seconds. The error is unchanged.
Coverage
| Lines | Functions | Regions |
|---|---|---|
| 92.57% | 90.53% | 92.33% |
Doc tests excluded — --doctests requires nightly, and this repo pins stable.