Skip to content

Commit

Permalink
Re-expose DfuAsync and DfuSync from dfu-core
Browse files Browse the repository at this point in the history
  • Loading branch information
sjoerdsimons committed Oct 31, 2024
1 parent 4c1c8ae commit 19ab11b
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
use std::time::Duration;

use dfu_core::{
asynchronous::{DfuASync, DfuAsyncIo},
functional_descriptor::FunctionalDescriptor,
sync::DfuSync,
DfuIo, DfuProtocol,
asynchronous::DfuAsyncIo, functional_descriptor::FunctionalDescriptor, DfuIo, DfuProtocol,
};
use nusb::transfer::{Control, ControlIn, ControlOut, ControlType, Recipient, TransferError};
use thiserror::Error;

pub use dfu_core::asynchronous::DfuASync;
pub use dfu_core::sync::DfuSync;

#[derive(Debug, Error)]
pub enum Error {
#[error("Device not found")]
Expand Down

0 comments on commit 19ab11b

Please sign in to comment.