We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7efdc93 commit 7397062Copy full SHA for 7397062
libwebauthn/src/transport/hid/device.rs
@@ -17,11 +17,15 @@ use crate::transport::Device;
17
use crate::UxUpdate;
18
19
#[derive(Debug)]
20
+// SoloVirtualKey is not clone-able, but in test-mode we don't care
21
+#[cfg_attr(not(feature = "virtual-hid-device"), derive(Clone))]
22
pub struct HidDevice {
23
pub backend: HidBackendDevice,
24
}
25
26
27
28
29
pub enum HidBackendDevice {
30
HidApiDevice(DeviceInfo),
31
#[cfg(feature = "virtual-hid-device")]
0 commit comments