Version conflict issue: bytemuck dependency version mismatch
bugdependencies
### Search before asking
- [x] I have searched the Ultralytics [issues](https://github.com/ultralytics/PROJECT_NAME/issues) and found no similar bug report.
### Ultralytics Component
Install
### Bug
Hi,
I encountered a version conflict issue while using your project, specifically related to the bytemuck dependency. Here are the details:
fast_image_resize v5.4.0 requires bytemuck version ^1.24 (i.e., 1.24.x version).
However, the current project has locked bytemuck v1.14.0, which is brought in by flutter_rust_bridge v2.11.1.
This causes a version conflict and results in build failures or compilation issues.
Error Message:
fast_image_resize v5.4.0 requires bytemuck version ^1.24 (i.e., 1.24.x version).
However, your project has locked bytemuck v1.14.0, which is brought in by flutter_rust_bridge v2.11.1.
### Environment
OS: Windows 10
Rust Version: rustc 1.91.1
Cargo Version: cargo --version (e.g., cargo 1.65.0)
Flutter Version: Flutter 3.24.0
Dependencies:
flutter_rust_bridge v2.11.1
inference = { git = "https://github.com/ultralytics/inference.git" }
Error Message: Version conflict for bytemuck between flutter_rust_bridge and fast_image_resize
### Minimal Reproducible Example
fast_image_resize v5.4.0 requires bytemuck version ^1.24 (i.e., 1.24.x version).
However, your project has locked bytemuck v1.14.0, which is brought in by flutter_rust_bridge v2.11.1.
### Additional
_No response_
### Are you willing to submit a PR?
- [ ] Yes I'd like to help by submitting a PR!
2 条评论