fix CIs - #852
Conversation
📝 WalkthroughWalkthroughAdded a crate-level Changes
Sequence Diagram(s)(Skipped — changes do not introduce a new multi-component sequential control flow requiring visualization.) Estimated code review effort🎯 3 (Moderate) | ⏱️ ~20 minutes Possibly related PRs
Poem
🚥 Pre-merge checks | ✅ 2 | ❌ 1❌ Failed checks (1 inconclusive)
✅ Passed checks (2 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing touches
📜 Recent review detailsConfiguration used: Organization UI Review profile: CHILL Plan: Pro 📒 Files selected for processing (1)
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (14)
🔇 Additional comments (1)
✏️ Tip: You can disable this entire section by setting Comment |
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Fix all issues with AI agents
In `@examples/local_video/Cargo.toml`:
- Around line 46-58: Remove the unconditional objc2 dependency entry from
Cargo.toml and leave objc2 only under the macOS target section; specifically
delete the top-level line "objc2 = { version = "0.6.0", features =
["relax-sign-encoding"] }" so that objc2 is only declared inside
[target.'cfg(target_os = "macos")'.dependencies] (where nokhwa and objc2 are
already declared), preventing builds on non‑Apple platforms from trying to
fetch/build objc2.
📜 Review details
Configuration used: Organization UI
Review profile: CHILL
Plan: Pro
📒 Files selected for processing (3)
examples/local_video/Cargo.tomlexamples/local_video/README.mdexamples/local_video/src/list_devices.rs
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (3)
- GitHub Check: Test (x86_64-apple-darwin)
- GitHub Check: Test (x86_64-unknown-linux-gnu)
- GitHub Check: Test (x86_64-pc-windows-msvc)
🔇 Additional comments (6)
examples/local_video/README.md (4)
5-6: Clear desktop-only guidance.Nice clarity on platform scope and feature requirement.
19-33: Publisher examples read well.Commands align with the new feature gating and flag set.
37-37: No additional feedback.
48-62: No additional feedback.examples/local_video/src/list_devices.rs (1)
30-67: Portable capability enumeration looks solid.The flow is clean and the formatting/dedup logic is sensible.
examples/local_video/Cargo.toml (1)
7-24: Feature gating for desktop binaries is clear and consistent.
✏️ Tip: You can disable this entire section by setting review_details to false in your review settings.
This PR will fix the Cis related to local_video example
Summary by CodeRabbit
New Features
Documentation
Refactor
Chores
✏️ Tip: You can customize this high-level summary in your review settings.