Repository navigation
Prepare for 0.4.0 release - #24
Merged
Merged
Conversation
mtavenrath
approved these changes
Oct 15, 2026
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.
Summary
Release 0.4.0, the first publishable version since 0.3.0 (2026-05-04):
0.3.0->0.4.0. Everything since 0.3.0 is additive except that theonnxandprotosmodules now sit behind the default-ononnxfeature (Make ONNX support optional #13), which changes the surface fordefault-features = falseconsumers; hence a minor bump.webnn-onnx-utilsis taken from crates.io (0.1.1, identical to itsmainbranch):cargo publishrejects git dependencies, so this is what has blocked publishing.excludeforexamples/resnet_head.weights: the file is 8 MiB of the 8.8 MiB package, against crates.io's 10 MiB cap. The package is now 76 files, 989 KiB. The example still works from a checkout.repositorymetadata (cargo warned it was missing).[0.3.0] - to be released; it is dated, and a[0.4.0]section covers Make ONNX support optional #13, docs: fix link in README #14, Add missing ops for ResNet-50 #16, Add packed 4-bit SafeTensors weight support #19, Add ONNX Softplus import and shape propagation #21 and Support ONNX opset 20 and faithful tanh GELU lowering #23.publish.yml: fails when the release tag does not match theCargo.tomlversion, and the publish step now names this crate instead of rustnn.Validation
make fmt-check,make lint,make test: clean, 220 tests pass with default features and 73 with--no-default-features(the CI minimal matrix).cargo publish --dry-run --allow-dirty: packages and verifies.Release steps
Merge, tag
v0.4.0, create the GitHub release;publish.ymlpublishes. rustnn (release/0.6.0) and pywebnn then switch theirwebnn-graphdependency from the git branch to"0.4".