Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update usb-device requirement from 0.2.7 to 0.3.2 in /examples/usb #460

Merged
merged 2 commits into from May 23, 2024

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Apr 18, 2024

Updates the requirements on usb-device to permit the latest version.

Release notes

Sourced from usb-device's releases.

v0.3.2

What's Changed

New Contributors

Full Changelog: rust-embedded-community/usb-device@v0.3.1...v0.3.2

Changelog

Sourced from usb-device's changelog.

[0.3.2] - 2024-03-06

Added

  • A new log feature can be enabled to provide logging and tracing information about the USB interface.

Changed

  • [breaking] LangIDs no longer implement TryFromPrimitive. The minor version has not been bumped as this was not intended to be used in the public API.
    • If this is problematic, please open an issue in the main usb-device repository.
  • Changed handling of EP0 state to eliminate unexpected issues with device enumeration

[0.3.1] - 2023-11-15

Added

  • BuilderError, LangID, StringDescriptors now in prelude
  • LangID now in class_prelude

Changed

  • Updated documentation, including example code

[0.3.0] - 2023-11-13

Fixed

  • Fixed a defect where enumeration may fail due to timing-related issues (#128)

Added

  • New enums and allocators for Isochronous endpoints (#60).
  • Ability to select USB revision (#116).
  • Added support for alternate settings on interfaces (#114).
  • Added support for architectures without atomics (#115).
  • Added support for multi-language STRING desc (#122).
    • UsbDeviceBuilder has a public .extra_lang_ids() method to specify LANGIDs besides ENGLISH_US(0x0409)

Breaking

  • Acess numeric form of EndpointType variants now require a .to_bm_attributes(). (#60)
  • DescriptorWriter::iad() now requires a Option<StringIndex> to optionally specify a string for describing the function (#121)
  • .manufacturer(), .product() and .serial_number() of UsbDeviceBuilder are now replaced with the strings() function that accepts a StringDescriptor list to allow multilanguage support (#122)
  • Various methods of the UsbDeviceBuilder now return Result<> types instead of internally panicking.

Changed

  • EndpointType enum now has fields for isochronous synchronization and usage (#60).
  • descriptor_type::STRING of fn get_descriptor() will send the LANGIDs supported by device, and respond STRING Request with specified LANGID. (#122)
  • UsbError is now copyable and comparable (#127)

[0.2.9] - 2022-08-02

Added

  • Optional support for defmt (#76).

... (truncated)

Commits
  • 6a44a84 Merge pull request #146 from rust-embedded-community/release/0.3.2
  • bb4e9f1 Bumping release date
  • a158cfa Update CHANGELOG.md
  • 859eb37 Preparing for 0.3.2 release
  • af98f93 Merge pull request #143 from rust-embedded-community/feature/result-propagation
  • a4701c1 Merge pull request #145 from vitalyvb/langid-defmt
  • 2cc436f Restore deriving defmt::Format for LangID when defmt feature is enabled
  • beb6b9e Cleaning up more result propagation
  • c82290c Using proper log macro
  • deec99c Fixing log format
  • Additional commits viewable in compare view

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 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)

@dependabot dependabot bot added dependencies Pull requests that update a dependency file rust Pull requests that update Rust code labels Apr 18, 2024
@dependabot dependabot bot force-pushed the dependabot/cargo/examples/usb/usb-device-0.3.2 branch from 3c78038 to 0555b65 Compare April 18, 2024 14:14
Updates the requirements on [usb-device](https://github.com/rust-embedded-community/usb-device) to permit the latest version.
- [Release notes](https://github.com/rust-embedded-community/usb-device/releases)
- [Changelog](https://github.com/rust-embedded-community/usb-device/blob/master/CHANGELOG.md)
- [Commits](rust-embedded-community/usb-device@v0.2.7...v0.3.2)

---
updated-dependencies:
- dependency-name: usb-device
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
@qwandor qwandor force-pushed the dependabot/cargo/examples/usb/usb-device-0.3.2 branch from 0555b65 to 45fa021 Compare April 18, 2024 15:23
@qwandor
Copy link
Member

qwandor commented Apr 18, 2024

This won't work until nrf-rs/nrf-usbd#17 is released.

@qwandor qwandor force-pushed the dependabot/cargo/examples/usb/usb-device-0.3.2 branch from 8fd21c0 to 20f8fae Compare May 23, 2024 11:17
@qwandor qwandor force-pushed the dependabot/cargo/examples/usb/usb-device-0.3.2 branch from 9d511a7 to 78c163b Compare May 23, 2024 11:22
@qwandor qwandor merged commit 6016706 into master May 23, 2024
5 checks passed
@qwandor qwandor deleted the dependabot/cargo/examples/usb/usb-device-0.3.2 branch May 23, 2024 11:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file rust Pull requests that update Rust code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant