tool: Fix building without std feature

This commit is contained in:
Ian Douglas Scott 2021-03-04 10:19:41 -08:00 committed by Jeremy Soller
parent 8825b906bd
commit 325762d4d8

View File

@ -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")]