btle 0.1.4

Lightweight Bluetooth Low Energy Drivers. WIP and very not stable yet!! Designed for https://github.com/AndrewGi/BluetoothMeshRust
Documentation
Build #3002971 2026-03-12 12:59:43

# rustc version rustc 1.96.0-nightly (3b1b0ef4d 2026-03-11)

# docs.rs version docsrs 0.0.0 (a68728e7 2026-03-08 )

# build log [INFO] running `Command { std: "docker" "create" "-v" "/home/cratesfyi/workspace/builds/btle-0.1.4/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace/builds/btle-0.1.4/source:/opt/rustwide/workdir:ro,Z" "-v" "/home/cratesfyi/workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/home/cratesfyi/workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "DOCS_RS=1" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "6442450944" "--cpus" "6" "--user" "1001:1001" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "rustdoc" "--lib" "-Zrustdoc-map" "--config" "build.rustdocflags=[\"--cfg\", \"docsrs\", \"-Z\", \"unstable-options\", \"--emit=invocation-specific\", \"--resource-suffix\", \"-20260311-1.96.0-nightly-3b1b0ef4d\", \"--static-root-path\", \"/-/rustdoc.static/\", \"--cap-lints\", \"warn\", \"--extern-html-root-takes-precedence\"]" "--offline" "-Zunstable-options" "--config=doc.extern-map.registries.crates-io=\"https://docs.rs/{pkg_name}/{version}/x86_64-unknown-linux-gnu\"" "-Zrustdoc-scrape-examples" "-j6" "--target" "x86_64-unknown-linux-gnu", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 2532ae354b8d128dc48fb1392620259456b8027693941d9156481ebf67ae4e24 [INFO] running `Command { std: "docker" "start" "-a" "2532ae354b8d128dc48fb1392620259456b8027693941d9156481ebf67ae4e24", kill_on_drop: false }` [INFO] [stderr] warning: `default_features` is deprecated in favor of `default-features` and will not work in the 2024 edition [INFO] [stderr] (in the `futures-util` dependency) [INFO] [stderr] warning: `default_features` is deprecated in favor of `default-features` and will not work in the 2024 edition [INFO] [stderr] (in the `tokio` dependency) [INFO] [stderr] warning: `default_features` is deprecated in favor of `default-features` and will not work in the 2024 edition [INFO] [stderr] (in the `winrt` dependency) [INFO] [stderr] warning: Rustdoc did not scrape the following examples because they require dev-dependencies: advertise_test, advertisement_dump, usb_test, windows_test [INFO] [stderr] If you want Rustdoc to scrape these examples, then add `doc-scrape-examples = true` [INFO] [stderr] to the [[example]] target configuration of at least one example. [INFO] [stderr] warning: target filter specified, but no targets matched; this is a no-op [INFO] [stderr] Documenting btle v0.1.4 (/opt/rustwide/workdir) [INFO] [stderr] warning: unexpected `cfg` condition value: `winrt_drives` [INFO] [stderr] --> src/lib.rs:41:7 [INFO] [stderr] | [INFO] [stderr] 41 | #[cfg(feature = "winrt_drives")] [INFO] [stderr] | ^^^^^^^^^^-------------- [INFO] [stderr] | | [INFO] [stderr] | help: there is a expected value with a similar name: `"winrt_drivers"` [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `bluez_socket`, `classic`, `default`, `hci`, `hci_usb`, `libc`, `nix`, `remote`, `serde`, `serde-1`, `std`, `tokio`, `usbw`, `winrt`, and `winrt_drivers` [INFO] [stderr] = help: consider adding `winrt_drives` as a feature in `Cargo.toml` [INFO] [stderr] = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration [INFO] [stderr] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unresolved link to `SetEventMask` [INFO] [stderr] --> src/hci/le/mask.rs:1:10 [INFO] [stderr] | [INFO] [stderr] 1 | //! LE [`SetEventMask`] and [`EventMask`] for dealing with LE event masks. [INFO] [stderr] | ^^^^^^^^^^^^ no item named `SetEventMask` in scope [INFO] [stderr] | [INFO] [stderr] = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]` [INFO] [stderr] = note: `#[warn(rustdoc::broken_intra_doc_links)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unresolved link to `EventMask` [INFO] [stderr] --> src/hci/le/mask.rs:1:31 [INFO] [stderr] | [INFO] [stderr] 1 | //! LE [`SetEventMask`] and [`EventMask`] for dealing with LE event masks. [INFO] [stderr] | ^^^^^^^^^ no item named `EventMask` in scope [INFO] [stderr] | [INFO] [stderr] = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]` [INFO] [stderr] [INFO] [stderr] warning: unresolved link to `Stream::read_packet` [INFO] [stderr] --> src/hci/stream.rs:146:22 [INFO] [stderr] | [INFO] [stderr] 146 | /// to provide the [`Stream::read_packet`] and [`Stream::send_command`] functions. [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ the struct `Stream` has no field or associated item named `read_packet` [INFO] [stderr] [INFO] [stderr] warning: unresolved link to `Stream::send_command` [INFO] [stderr] --> src/hci/stream.rs:146:50 [INFO] [stderr] | [INFO] [stderr] 146 | /// to provide the [`Stream::read_packet`] and [`Stream::send_command`] functions. [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ the struct `Stream` has no field or associated item named `send_command` [INFO] [stderr] [INFO] [stderr] warning: `btle` (lib doc) generated 5 warnings [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.81s [INFO] [stderr] Generated /opt/rustwide/target/x86_64-unknown-linux-gnu/doc/btle/index.html [INFO] running `Command { std: "docker" "inspect" "2532ae354b8d128dc48fb1392620259456b8027693941d9156481ebf67ae4e24", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2532ae354b8d128dc48fb1392620259456b8027693941d9156481ebf67ae4e24", kill_on_drop: false }` [INFO] [stdout] 2532ae354b8d128dc48fb1392620259456b8027693941d9156481ebf67ae4e24