seify 0.25.0

Shiny Samples from your Rusty SDR
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
//! bladeRF 1 driver.
//!
//! libbladerf-rs mirrors nusb's runtime integration, so on native targets
//! the backend needs exactly one of Seify's `smol` or `tokio` features for
//! both its synchronous and asynchronous halves; libbladerf-rs reports a
//! compile error otherwise.

mod common;

#[cfg(any(target_arch = "wasm32", feature = "smol", feature = "tokio"))]
mod asynchronous;
#[cfg(any(target_arch = "wasm32", feature = "smol", feature = "tokio"))]
pub use asynchronous::{AsyncBladeRf, AsyncBladeRfRxStreamer, AsyncBladeRfTxStreamer};

#[cfg(not(target_arch = "wasm32"))]
mod sync;
#[cfg(not(target_arch = "wasm32"))]
pub use sync::{BladeRf, RxStreamer, TxStreamer};