Skip to content

Conversation

@VedantKh
Copy link

Fixes #208

Summary

This PR fixes the issue where Linux/Windows users encounter an error when building the project due to the cidre dependency using an unstable Rust edition (2024) that requires nightly Cargo features.

Root Cause

The cidre dependency was pointing to revision a9587fa which uses edition = "2024". This edition requires the unstable edition2024 Cargo feature, causing the build to fail on stable Rust with the error: 'no matching package named cidre found'

Changes

  1. Updated cidre git revision from 'a9587fa' to 'efb9e060'
    • This revision uses edition = "2021" which is stable
    • Maintains all required features including 'av' for Core Audio support
  2. Made cidre dependency optional to prevent unnecessary resolution on non-macOS platforms
  3. Added documentation comment explaining the optional dependency

Testing

Tested on Ubuntu 24.04 with Cargo 1.83.0 - dependency resolution succeeds without errors.

The cidre dependency is now only resolved when building for macOS, and uses a stable Rust edition that works with stable Cargo versions. Linux/Windows users will no longer encounter the build error.

Files Modified

  • frontend/src-tauri/Cargo.toml

Link to Devin run: https://app.devin.ai/sessions/890dc2f9d6a8401eaaae0391d8ded3fe
Requested by: Vedant Khanna (vedantkhanna@gmail.com) (@VedantKh)
Analysis session: devin-fa0e934857644bda85fd86a984b52323

…ound

This commit fixes the issue where Linux/Windows users encounter an error
when building the project due to the cidre dependency using an unstable
Rust edition (2024) that requires nightly Cargo features.

Root Cause:
The cidre dependency was pointing to revision a9587fa which uses
edition = "2024". This edition requires the unstable edition2024 Cargo
feature, causing the build to fail on stable Rust with the error:
'no matching package named cidre found'

Changes:
1. Updated cidre git revision from 'a9587fa' to 'efb9e060'
   - This revision uses edition = "2021" which is stable
   - Maintains all required features including 'av' for Core Audio support
2. Made cidre dependency optional to prevent unnecessary resolution
   on non-macOS platforms
3. Added documentation comment explaining the optional dependency

The cidre dependency is now only resolved when building for macOS,
and uses a stable Rust edition that works with stable Cargo versions.
Linux/Windows users will no longer encounter the build error.

Tested on Ubuntu 24.04 with Cargo 1.83.0 - dependency resolution
succeeds without errors.

Fixes Zackriya-Solutions#208

Co-Authored-By: Vedant Khanna <vedantkhanna@gmail.com>
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.

[BUG] no matching package named cidre found

1 participant