diff --git a/src/backend/wasm.rs b/src/backend/wasm.rs
index d984579..aeb940c 100644
--- a/src/backend/wasm.rs
+++ b/src/backend/wasm.rs
@@ -5,8 +5,8 @@ use wasm_bindgen::prelude::*;
 use js_sys::{Array, Object, Promise, Uint8Array};
 use wasm_bindgen_futures::JsFuture;
 use web_sys::{
-    console, Usb, UsbControlTransferParameters, UsbDevice as WasmUsbDevice,
-    UsbDeviceRequestOptions, UsbInTransferResult, UsbInterface as WasmUsbInterface,
+    console, UsbControlTransferParameters, UsbDevice as WasmUsbDevice,
+    UsbDeviceRequestOptions, UsbInTransferResult,
     UsbOutTransferResult, UsbRecipient, UsbRequestType,
 };
 
diff --git a/src/usb.rs b/src/usb.rs
index 67707a4..2cee372 100644
--- a/src/usb.rs
+++ b/src/usb.rs
@@ -1,4 +1,4 @@
-#![cfg_attr(debug_assertions, allow(async_fn_in_trait))]
+#![allow(async_fn_in_trait)]
 use crate::context::UsbInterface;
 use std::error::Error;