crab_usb/
lib.rs

1#![cfg_attr(not(feature = "libusb"), no_std)]
2#![feature(iterator_try_collect)]
3
4extern crate alloc;
5
6pub use usb_if::descriptor::*;
7pub use usb_if::err::*;
8pub use usb_if::transfer::*;
9
10#[macro_use]
11mod _macros;
12
13pub(crate) mod backend;
14mod common;
15pub mod err;
16
17pub use common::*;
18pub use futures::future::BoxFuture;
19
20#[macro_use]
21mod osal;
22pub use osal::Kernel;
23pub use trait_ffi::impl_extern_trait;
24
25define_int_type!(BusAddr, u64);