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