Skip to content

Commit

Permalink
Extend preludes following descriptor updates
Browse files Browse the repository at this point in the history
  • Loading branch information
ianrrees committed Nov 13, 2023
1 parent 6021f1c commit 2961880
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,11 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).

## [Unreleased]

### Added
* `LangID` in `prelude` and `class_prelude`, `StringDescriptors` in `prelude`

## [0.3.0] - 2023-11-13

### Fixed
Expand Down
6 changes: 5 additions & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,10 @@ mod device_builder;

/// Prelude for device implementors.
pub mod prelude {
pub use crate::device::{UsbDevice, UsbDeviceBuilder, UsbDeviceState, UsbVidPid};
pub use crate::device::{
StringDescriptors, UsbDevice, UsbDeviceBuilder, UsbDeviceState, UsbVidPid,
};
pub use crate::LangID;
pub use crate::UsbError;
}

Expand All @@ -196,6 +199,7 @@ pub mod class_prelude {
EndpointAddress, EndpointIn, EndpointOut, EndpointType, IsochronousSynchronizationType,
IsochronousUsageType,
};
pub use crate::LangID;
pub use crate::UsbError;
}

Expand Down

0 comments on commit 2961880

Please sign in to comment.