Skip to content

Upgrade image to 0.25#83

Merged
xd009642 merged 1 commit intorust-cv:mainfrom
skrobchik:image-upgrade
Jul 22, 2025
Merged

Upgrade image to 0.25#83
xd009642 merged 1 commit intorust-cv:mainfrom
skrobchik:image-upgrade

Conversation

@skrobchik
Copy link
Contributor

Necessary changes to use the latest version of the image crate.

Upgraded all usages of the image crate to version 0.25.
Upgraded all usages of the imageproc crate to version 0.25.
Upgraded the nshare crate to version 0.10.
Upgraded the ndarray crate to version 0.16.

I'm not sure if replacing cast with .value_into().unwrap() is ok.

ndarray's into_raw_vec was deprecated. The recommended replacement is into_raw_vec_and_offset. Didn't replace it in this PR because I am not sure if the offset has to be handled in some way.

Copy link
Member

@xd009642 xd009642 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, but could you just run cargo fmt and push the changes so CI can be green

@xd009642 xd009642 merged commit d271a9a into rust-cv:main Jul 22, 2025
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

Comments