All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog and this project adheres to Semantic Versioning.
DummyUsbBus
without functionality to allow examples that actually compile (but not run).
- [breaking] The control pipe is now provided in the
UsbDeviceBuilder
API to allow for user-provided control pipes. This makes it so that control pipes have configurable sizing. - Don't require UsbBus to be Sync. If a UsbBus is not Sync, it can still be used to make a UsbDevice, but that UsbDevice will not be Sync (ensuring soundness).
0.3.2 - 2024-03-06
- A new
log
feature can be enabled to provide logging and tracing information about the USB interface.
- [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.
- If this is problematic, please open an issue in the main
- Changed handling of EP0 state to eliminate unexpected issues with device enumeration
0.3.1 - 2023-11-15
BuilderError
,LangID
,StringDescriptors
now inprelude
LangID
now inclass_prelude
- Updated documentation, including example code
0.3.0 - 2023-11-13
- Fixed a defect where enumeration may fail due to timing-related issues (#128)
- 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)
- Acess numeric form of
EndpointType
variants now require a.to_bm_attributes()
. (#60) DescriptorWriter::iad()
now requires aOption<StringIndex>
to optionally specify a string for describing the function (#121).manufacturer()
,.product()
and.serial_number()
ofUsbDeviceBuilder
are now replaced with thestrings()
function that accepts aStringDescriptor
list to allow multilanguage support (#122)- Various methods of the
UsbDeviceBuilder
now returnResult<>
types instead of internally panicking.
EndpointType
enum now has fields for isochronous synchronization and usage (#60).descriptor_type::STRING
offn 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
- Optional support for defmt (#76).
- Fixed an issue where USB devices were not enumerating on Windows (#32)
- Fixed Suspend state transition so it goes back to the previous state, not just Default (#97)
0.2.8 - 2021-03-13
0.2.7 - 2020-10-03
0.2.6 - 2020-09-22
0.2.5 - 2020-02-10
0.2.4 - 2020-02-01
0.2.3 - 2019-08-28
0.2.2 - 2019-07-27
0.2.1 - 2019-06-07
0.2.0 - 2019-06-07
This is the initial release to crates.io.