Skip to content

Upgrade to device-driver v2 - #60

Open
diondokter wants to merge 5 commits into
OpenDevicePartnership:mainfrom
diondokter:dd-v2
Open

Upgrade to device-driver v2#60
diondokter wants to merge 5 commits into
OpenDevicePartnership:mainfrom
diondokter:dd-v2

Conversation

@diondokter

Copy link
Copy Markdown
Member

This is the minimal update to device-driver v2.

Ideally the following things would also happen, but they're a lot of work that can be done later:

  • Combine all device files into one. This is not supported in v2: https://device-driver.com/book/v2/language-manifest.html
    • But this is a lot of work, because loads of things need to be deduplicated
    • The deduplication will be helpful though, since it'll be deduplicated in the generated Rust code too
    • Maybe then compile perf would be good enough to get rid of the device feature gates
  • Look for opportunities to use the bulk-operations support
    • This would make transactions faster and saves on binary size (especially in the presence of async)

@diondokter
diondokter requested a review from a team as a code owner August 26, 2026 08:13
@github-actions

Copy link
Copy Markdown

Cargo Vet Audit Failed

cargo vet has failed in this PR. Please run cargo vet --locked locally to check for new or updated unvetted dependencies.
Details about the vetting process can be found in supply-chain/README.md

If the unvetted dependencies are not needed

Please modify Cargo.toml file to avoid including the dependencies.

If the unvetted dependencies are needed

Post a new comment with the questionnaire below to the PR to help the auditors vet the dependencies.
After the auditors have vetted the dependencies, the PR will need to be rebased to pick up the new audits and pass this check.

Copy and paste the questionnaire as a new comment and provide your answers:

1. What crates (with version) need to be audited?

2. How many of the crates are version updates vs new dependencies?

3. To confirm none of the already included crates serve your needs, please provide a brief description of the purpose of the new crates.

4. Any extra notes to the auditors to help with their audits.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant