hackrf-nusb 0.2.0

Rust-native HackRF RX driver built on nusb.
Documentation
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[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"