actually fix dependency issue for cargo doc

This commit is contained in:
bunnie 2024-06-18 00:54:27 +08:00
parent 8bfdc1296a
commit 79b4a781f7
2 changed files with 3 additions and 2 deletions

View file

@ -74,4 +74,6 @@ mass-storage = ["usbd_scsi", "usbd_mass_storage"]
auto-trng = []
mjolnir = [
] # the big hammer for debugging Spinal USB issues. A raw memory dump of config and descriptor space. Use with care.
default = []
# cramium targets must specify no default features; this is necessary for cargo doc to work.
default = ["trng"]

View file

@ -7,7 +7,6 @@ pub mod api;
pub use api::*;
use num_traits::*;
use packed_struct::PackedStruct;
#[cfg(feature = "cramium-soc")]
use trng::api::TrngTestMode;
pub use usb_device::device::UsbDeviceState;
use xous::{send_message, Message, CID};