Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
reduce opencv crate import coverage to just required modules
  • Loading branch information
bghira committed Apr 5, 2026
commit 16aaf593da0295222506a4509fc9bed8528328e5
3 changes: 2 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@ num_cpus = "1.16"
numpy = {version = "0.22", optional = true}
objc = {version = "0.2", optional = true}
# OpenCV bindings for performance parity
opencv = {version = "0.93", optional = true}
# Limit binding generation to the modules this crate actually uses.
opencv = {version = "0.93", optional = true, default-features = false, features = ["clang-runtime", "imgproc", "videoio"]}
# Python bindings (optional)
pyo3 = {version = "0.22", features = ["extension-module"], optional = true}
rayon = "1.8"
Expand Down
Loading