Skip to content

Commit

Permalink
small rust fixup (#1266)
Browse files Browse the repository at this point in the history
hides future behind async
  • Loading branch information
adrian-kong authored Dec 12, 2022
1 parent ab3b5f5 commit ea1cd75
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions rust/sbp/src/de.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ use std::{

use bytes::{Buf, BytesMut};
use dencode::FramedRead;

#[cfg(feature = "async")]
use futures::StreamExt;

use crate::{wire_format, Sbp, CRC_LEN, HEADER_LEN, MAX_FRAME_LEN, PAYLOAD_INDEX, PREAMBLE};
Expand Down

0 comments on commit ea1cd75

Please sign in to comment.