Skip to content

Bump rknn-rs from 0.2.1 to 0.2.4#27

Closed
dependabot[bot] wants to merge 1 commit intomasterfrom
dependabot/cargo/rknn-rs-0.2.4
Closed

Bump rknn-rs from 0.2.1 to 0.2.4#27
dependabot[bot] wants to merge 1 commit intomasterfrom
dependabot/cargo/rknn-rs-0.2.4

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot Bot commented on behalf of github Mar 2, 2026

Bumps rknn-rs from 0.2.1 to 0.2.4.

Changelog

Sourced from rknn-rs's changelog.

[v0.2.4]

Changed

  • Code cleanup: Removed two dead-code private structs (_rknn_tensor_attr, _rknn_input) that duplicated bindgen-generated equivalents in rknn-sys-rs. Internal query code now uses rknn_sys::_rknn_tensor_attr directly.
  • rknn_init deprecated: Use Rknn::new() instead. rknn_init is kept for backwards compatibility but will be removed in a future release.
  • Typo fixes: "faild" → "failed" in three internal error messages.

[v0.2.3] / rknn-sys-rs [v0.1.2]

Fixed

  • RKNN 2.3.x runtime OOB bug workaround: rknn_outputs_get in the RKNN runtime internally iterates all model outputs regardless of the n_outputs argument. Passing fewer structs than the model's actual output count caused the runtime to read past the allocated array, producing garbage index values and returning -5 RKNN_ERR_OUTPUT_INVALID. outputs_get_by_index and outputs_get now query io_num() first and always allocate a full-sized rknn_output array (n_model_output elements), preventing the out-of-bounds read. RknnOutput now holds the entire array and releases all outputs together on drop.
  • rknn_matmul_api.h: Added missing RKNN_INT8_MM_INT4_TO_FLOAT16 = 15 enum variant (present in upstream airockchip/rknn-toolkit2 but absent in previous releases).
Commits

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [rknn-rs](https://github.com/darkautism/rknn-rs) from 0.2.1 to 0.2.4.
- [Changelog](https://github.com/darkautism/rknn-rs/blob/master/CHANGELOG.md)
- [Commits](https://github.com/darkautism/rknn-rs/commits)

---
updated-dependencies:
- dependency-name: rknn-rs
  dependency-version: 0.2.4
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file rust Pull requests that update rust code labels Mar 2, 2026
@darkautism darkautism closed this Mar 4, 2026
@dependabot @github
Copy link
Copy Markdown
Contributor Author

dependabot Bot commented on behalf of github Mar 4, 2026

OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting @dependabot ignore this major version or @dependabot ignore this minor version. You can also ignore all major, minor, or patch releases for a dependency by adding an ignore condition with the desired update_types to your config file.

If you change your mind, just re-open this PR and I'll resolve any conflicts on it.

@dependabot dependabot Bot deleted the dependabot/cargo/rknn-rs-0.2.4 branch March 4, 2026 17:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file rust Pull requests that update rust code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant