Bump nusb from 0.1.14 to 0.2.1#1139
Merged
dependabot[bot] merged 20 commits intomasterfrom Dec 5, 2025
Merged
Conversation
Bumps [nusb](https://github.com/kevinmehall/nusb) from 0.1.14 to 0.2.1. - [Release notes](https://github.com/kevinmehall/nusb/releases) - [Commits](kevinmehall/nusb@v0.1.14...v0.2.1) --- updated-dependencies: - dependency-name: nusb dependency-version: 0.2.1 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com>
|
Jekyll site preview deployed to: https://pigg-pr-1139.surge.sh |
Owner
|
@dependabot merge
…On Wed, Nov 26, 2025, 2:12 PM github-actions[bot] ***@***.***> wrote:
*github-actions[bot]* left a comment (andrewdavidmackenzie/pigg#1139)
<#1139 (comment)>
Jekyll site preview deployed to: https://pigg-pr-1139.surge.sh
—
Reply to this email directly, view it on GitHub
<#1139 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABKF4LGR7ZWIXM7BPVT7NED36WRLNAVCNFSM6AAAAACNII6RS2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZTKOBRGI3DOMBWHE>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
Contributor
Author
|
Beginning January 27, 2026, Dependabot will no longer support the @dependabot merge command. Please use GitHub's native pull request controls instead. Please see the changelog announcement for additional details. |
Owner
|
@dependabot merge
…On Wed, Nov 26, 2025, 5:01 PM dependabot[bot] ***@***.***> wrote:
Bumps nusb <https://github.com/kevinmehall/nusb> from 0.1.14 to 0.2.1.
Release notes
*Sourced from nusb's releases
<https://github.com/kevinmehall/nusb/releases>.*
v0.2.1 Bug fixes
- Fix a race condition where Interface::endpoint would return Busy
when re-opening an endpoint that was just dropped immediately after a
previous transfer completed (kevinmehall/nusb#163
<https://github.com/kevinmehall/nusb/pull/163>)
New features
- Add Endpoint::transfer_blocking convenience method to submit and
wait for a single transfer with timeout (kevinmehall/nusb#164
<https://github.com/kevinmehall/nusb/pull/164>)
Contributors
@kevinmehall <https://github.com/kevinmehall>
v0.2.0
v0.2 is an API redesign based on what we learned in v0.1. It makes the API
less error prone, enables new optimizations, and prepares the API for a
planned WebUSB backend.
New Features
- EndpointRead / EndpointWrite adapters
<https://docs.rs/nusb/latest/nusb/io/index.html> that manage transfers
and implement std::io and corresponding async IO traits. These are now
the "high-level" API recommended unless you want to manage individual
transfers. (kevinmehall/nusb#141
<https://github.com/kevinmehall/nusb/pull/141>)
- Functions that were previously blocking are available as blocking or
async via MaybeFuture. If you are using them asynchronously, you need
to enable the smol or tokio features to defer the blocking syscalls to
the corresponding runtime's blocking thread pool. (kevinmehall/nusb#100
<https://github.com/kevinmehall/nusb/pull/100>)
- Add DeviceInfo::port_chain with the path of port numbers from the
root hub to this device. (kevinmehall/nusb#71
<https://github.com/kevinmehall/nusb/pull/71>)
- Add list_buses() and BusInfo for information on USB buses. (
kevinmehall/nusb#77
<https://github.com/kevinmehall/nusb/pull/77>)
- Include error code in TransferError::Unknown. (kevinmehall/nusb#64
<https://github.com/kevinmehall/nusb/issues/64>)
- Add Device::device_descriptor for access to device details from an
opened device. (kevinmehall/nusb#102
<https://github.com/kevinmehall/nusb/pull/102>)
- Windows: Enable RAW_IO for bulk IN endpoints for improved
performance. (kevinmehall/nusb#6
<https://github.com/kevinmehall/nusb/issues/6>)
- Linux: Enable zero-copy IO with buffers allocated by
Endpoint::allocate. (kevinmehall/nusb#11
<https://github.com/kevinmehall/nusb/issues/11>)
Fixes
- Windows: Allow claiming associated interfaces of multi-interface
functions.
- Windows: List interfaces of composite devices that are bound to
WinUSB at the device level.
- Windows: Include hubs in the device list. (kevinmehall/nusb#85
<https://github.com/kevinmehall/nusb/pull/85>)
Breaking Changes
- list_devices DeviceInfo::open, Device::from_fd,
Device::set_configuration, Device::reset, Interface::set_alt_setting,
Device::claim_interface Device::detach_and_claim_interface, and
Endpoint::clear_halt now return impl MaybeFuture. Add use
nusb::MaybeFuture and call .wait() for previous blocking
functionality. Or, to use them from async code, enable the tokio or
smol cargo feature of nusb and use .await.
- Queue has been replaced by Endpoint
<https://docs.rs/nusb/latest/nusb/struct.Endpoint.html> with changes
to the buffer type. (kevinmehall/nusb#117
<https://github.com/kevinmehall/nusb/pull/117>)
- Interface methods for single bulk and interrupt transfers and
TransferFuture have been removed because they had subtle pitfalls
regarding cancellation. Use Endpoint::submit followed by next_complete,
or switch to the EndpointRead / EndpointWrite adapters
<https://docs.rs/nusb/latest/nusb/io/index.html>.
- Interface and Device methods control_in_blocking +
control_out_blocking have been replaced with control_in / control_out
with .wait() from MaybeFuture.
- Interface and Device methods control_in + control_out now accept a
timeout. Dropping the returned Future no longer cancels the transfer.
- Bulk and Interrupt IN transfers that are not a multiple of the max
packet size return an error. (kevinmehall/nusb#135
<https://github.com/kevinmehall/nusb/pull/135>)
- DeviceInfo::bus_number (integer) has been replaced with
DeviceInfo::bus_id (string).
- Renamed EndpointType to TransferType.
- Renamed descriptor types (kevinmehall/nusb#115
<https://github.com/kevinmehall/nusb/pull/115>)
- Use NonZeroU8 for string descriptor indexes.
- Descriptor constructors return Option instead of panic.
- TransferError::Unknown has an integer field for the error code.
- nusb::Error is now a custom error type instead of a re-export of
std::io::Error. It still implements Into<std::io::Error> for ?.
- Linux: Root hubs are no longer included in the device list.
Minimum Rust version is now 1.79.
Contributors
... (truncated)
Commits
- 318244f
<kevinmehall/nusb@318244f>
v0.2.1
- 86f692e
<kevinmehall/nusb@86f692e>
Add crates.io trusted publishing
- 63ffb27
<kevinmehall/nusb@63ffb27>
Merge pull request #164
<https://github.com/kevinmehall/nusb/issues/164> from
kevinmehall/transfer-blocking
- dd56a96
<kevinmehall/nusb@dd56a96>
Add Endpoint::transfer_blocking convenience method.
- abb3740
<kevinmehall/nusb@abb3740>
Merge pull request #163
<https://github.com/kevinmehall/nusb/issues/163> from
kevinmehall/waker-fix
- 61228ae
<kevinmehall/nusb@61228ae>
Log on dropping endpoint with pending transfers
- bcfb2b8
<kevinmehall/nusb@bcfb2b8>
Take waker and drop EndpointInner reference before waking transfer
- 573126d
<kevinmehall/nusb@573126d>
Fix "hiding a lifetime that's elided elsewhere is confusing" warnings from
ru...
- 2ef7969
<kevinmehall/nusb@2ef7969>
v0.2.0
- 0035edd
<kevinmehall/nusb@0035edd>
Add must_use to MaybeFuture
- Additional commits viewable in compare view
<kevinmehall/nusb@v0.1.14...v0.2.1>
[image: Dependabot compatibility score]
<https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores>
Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting @dependabot
rebase.
Dependabot will merge this PR once CI passes on it, as requested by
@andrewdavidmackenzie <https://github.com/andrewdavidmackenzie>.
------------------------------
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- @dependabot rebase will rebase this PR
- @dependabot recreate will recreate this PR, overwriting any edits
that have been made to it
- @dependabot merge will merge this PR after your CI passes on it
- @dependabot squash and merge will squash and merge this PR after
your CI passes on it
- @dependabot cancel merge will cancel a previously requested merge
and block automerging
- @dependabot reopen will reopen this PR if it is closed
- @dependabot close will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- @dependabot show <dependency name> ignore conditions will show all
of the ignore conditions of the specified dependency
- @dependabot ignore this major version will close this PR and stop
Dependabot creating any more for this major version (unless you reopen the
PR or upgrade to it yourself)
- @dependabot ignore this minor version will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen the
PR or upgrade to it yourself)
- @dependabot ignore this dependency will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the PR
or upgrade to it yourself)
------------------------------
You can view, comment on, or merge this pull request online at:
#1139
Commit Summary
- d26b5c6
<d26b5c6>
Bump nusb from 0.1.14 to 0.2.1
File Changes
(2 files <https://github.com/andrewdavidmackenzie/pigg/pull/1139/files>)
- *M* Cargo.lock
<https://github.com/andrewdavidmackenzie/pigg/pull/1139/files#diff-13ee4b2252c9e516a0547f2891aa2105c3ca71c6d7a1e682c69be97998dfc87e>
(15)
- *M* pignet/Cargo.toml
<https://github.com/andrewdavidmackenzie/pigg/pull/1139/files#diff-33dcfe99b3d55c3439519329447f509549400e7f57662a9ac60650f39a4bae3b>
(2)
Patch Links:
- https://github.com/andrewdavidmackenzie/pigg/pull/1139.patch
- https://github.com/andrewdavidmackenzie/pigg/pull/1139.diff
—
Reply to this email directly, view it on GitHub
<#1139>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABKF4LGBMVAFXYXRMHAHG5336XFHNAVCNFSM6AAAAACNII6RS2VHI2DSMVQWIX3LMV43ASLTON2WKOZTGY3DONBWGUZDONQ>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Contributor
Author
|
Beginning January 27, 2026, Dependabot will no longer support the @dependabot merge command. Please use GitHub's native pull request controls instead. Please see the changelog announcement for additional details. |
Contributor
Author
|
One of your CI runs failed on this pull request, so Dependabot won't merge it. Dependabot will still automatically merge this pull request if you amend it and your tests pass. |
Bumps [heapless](https://github.com/rust-embedded/heapless) from 0.9.1 to 0.9.2. - [Release notes](https://github.com/rust-embedded/heapless/releases) - [Changelog](https://github.com/rust-embedded/heapless/blob/main/CHANGELOG.md) - [Commits](https://github.com/rust-embedded/heapless/commits) --- updated-dependencies: - dependency-name: heapless dependency-version: 0.9.2 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com>
Bumps [nusb](https://github.com/kevinmehall/nusb) from 0.1.14 to 0.2.1. - [Release notes](https://github.com/kevinmehall/nusb/releases) - [Commits](kevinmehall/nusb@v0.1.14...v0.2.1) --- updated-dependencies: - dependency-name: nusb dependency-version: 0.2.1 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com>
Implement using endpoint
Owner
|
Test on real hw with new porky before merging |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Bumps nusb from 0.1.14 to 0.2.1.
Release notes
Sourced from nusb's releases.
... (truncated)
Commits
318244fv0.2.186f692eAdd crates.io trusted publishing63ffb27Merge pull request #164 from kevinmehall/transfer-blockingdd56a96AddEndpoint::transfer_blockingconvenience method.abb3740Merge pull request #163 from kevinmehall/waker-fix61228aeLog on dropping endpoint with pending transfersbcfb2b8Take waker and dropEndpointInnerreference before waking transfer573126dFix "hiding a lifetime that's elided elsewhere is confusing" warnings from ru...2ef7969v0.2.00035eddAdd must_use to MaybeFutureDependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase.Dependabot will merge this PR once CI passes on it, as requested by @andrewdavidmackenzie.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot mergewill merge this PR after your CI passes on it@dependabot squash and mergewill squash and merge this PR after your CI passes on it@dependabot cancel mergewill cancel a previously requested merge and block automerging@dependabot reopenwill reopen this PR if it is closed@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)