Repository navigation
feat: ✨ add the helpers Folioscope asked for - #32
Merged
Merged
Conversation
parse_path, format_path, transform_path, rounded_rect_path, ellipse_path and Matrix::rect_to_rect, as in the TypeScript package. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
BlendMode and blend (all sixteen CSS modes), premultiply and unpremultiply, the Hsb type with Rgb::to_hsb, and Rgba::from_unit and to_unit for the 0-1 float channels of design tools. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
A new kiwi module (feature kiwi, on bytes): Schema::parse reads a binary schema, Schema::decode turns a message into a dynamic Value, with precise errors, allocation limits and a nesting limit. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
A new font module (feature font): pick_closest (CSS Fonts 4 matching, with variable faces), weight_of_style, is_italic, split_postscript, same_family and read_font, which reads TrueType, OpenType, collection and WOFF files with its own inflate. WOFF2 needs Brotli and is reported as unsupported. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
✅ PR Validation Passed
📋 Pipeline Status
📊 Code Coverage
🌐 Compatibility
🧬 Mutation Testing
⏱️ Benchmarks
ℹ️ About this report
🤖 Generated by @helpers4 CI • 2026-10-28 |
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
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.
What
The helpers that Folioscope asked for (
helpers4-requests.md), for the Rust crate. No new dependency.geometryparse_path(PathCommand,ParsePathError),format_path,transform_path,rounded_rect_path,ellipse_path;Matrix::rect_to_rectbytesmedia_type_of(magic bytes) andmedia_type_of_pathcolorblendwith all sixteen CSSBlendModes,premultiply,unpremultiply,HsbandRgb::to_hsb,Rgba::from_unit/to_unit(0–1 float channels)stringmatch_glob_ignore_case,parse_pattern(/source/flagsor glob, as aPattern: the crate has no regex engine)kiwi(new, featurekiwi, needsbytes)Schema::parsereads a binary Kiwi schema,Schema::decodedecodes a message into a dynamicValue; preciseKiwiErrors, allocation limits, nesting limitfont(new, featurefont)pick_closest(CSS Fonts 4 matching, variable faces cover a weight range),weight_of_style,is_italic,split_postscript,same_family,read_font(TrueType, OpenType, collections, WOFF)Decisions to review
kiwi-schema. The request wroteSchema::decode(bytes)andschema.decode(message, "Message"), which cannot share a name: the schema reader isSchema::parse.FontError::UnsupportedWoff2). Its tables are Brotli-compressed, and a Brotli decoder needs its 122 KB static dictionary. WOFF (1.0) works, with an in-crate zlib inflate.read_fonthas no sub-feature, since it needs no dependency.Checks
cargo fmt --check,clippy --all-targets --all-features -D warnings(and per feature),cargo test --all-featureson stable and 1.85,cargo llvm-covat 100% lines, functions and regions,RUSTDOCFLAGS=-D warnings cargo doc,scripts/coherency.py. Not run locally:typos,cargo machete,cargo hack,cargo deny,cargo semver-checks.🤖 Generated with Claude Code