[package]
edition = "2024"
rust-version = "1.88"
name = "hackrf-nusb"
version = "0.2.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Rust-native HackRF RX driver built on nusb."
documentation = "https://docs.rs/hackrf-nusb"
readme = "README.md"
keywords = [
"hackrf",
"sdr",
"usb",
"nusb",
"webusb",
]
categories = [
"hardware-support",
"api-bindings",
"asynchronous",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/bastibl/hackrf-nusb"
[features]
default = []
smol = ["nusb/smol"]
tokio = ["nusb/tokio"]
[lib]
name = "hackrf_nusb"
path = "src/lib.rs"
[[example]]
name = "rx_async"
path = "examples/rx_async.rs"
[[example]]
name = "rx_sync"
path = "examples/rx_sync.rs"
[[test]]
name = "hardware"
path = "tests/hardware.rs"
[[test]]
name = "public_api"
path = "tests/public_api.rs"
[dependencies.num-complex]
version = "0.4"
[dependencies.nusb]
version = "0.2.7"
[dev-dependencies.futures-lite]
version = "2"
[target.'cfg(target_arch = "wasm32")'.dependencies.wasm-bindgen-futures]
version = "0.4"