diff --git a/src/capture.rs b/src/capture.rs index c5e5c07a..1cc73e21 100644 --- a/src/capture.rs +++ b/src/capture.rs @@ -1676,8 +1676,11 @@ mod tests { } pub mod prelude { + #[allow(unused_imports)] pub use super::{ + create_capture, create_endpoint, + CaptureReader, CaptureWriter, Device, DeviceId, @@ -1686,6 +1689,7 @@ pub mod prelude { EndpointId, EndpointType, EndpointState, + EndpointReader, EndpointWriter, EndpointTransactionId, EndpointTransferId, diff --git a/src/usb.rs b/src/usb.rs index cffecdf3..3e37ffe0 100644 --- a/src/usb.rs +++ b/src/usb.rs @@ -904,6 +904,7 @@ mod tests { } pub mod prelude { + #[allow(unused_imports)] pub use super::{ PID, PacketFields, @@ -911,6 +912,7 @@ pub mod prelude { SetupFields, SplitFields, StartComplete, + Speed, Direction, EndpointAddr, StandardRequest, @@ -919,6 +921,7 @@ pub mod prelude { DescriptorType, DeviceDescriptor, ConfigDescriptor, + InterfaceDescriptor, EndpointDescriptor, Configuration, Interface,