tool: Fix building without std
feature
This commit is contained in:
parent
8825b906bd
commit
325762d4d8
@ -3,6 +3,9 @@
|
||||
use crate::Error;
|
||||
use downcast_rs::Downcast;
|
||||
|
||||
#[cfg(not(feature = "std"))]
|
||||
use alloc::boxed::Box;
|
||||
|
||||
#[cfg(feature = "hidapi")]
|
||||
pub use self::hid::AccessHid;
|
||||
#[cfg(feature = "hidapi")]
|
||||
|
Loading…
x
Reference in New Issue
Block a user