btle 0.1.4

Lightweight Bluetooth Low Energy Drivers. WIP and very not stable yet!! Designed for https://github.com/AndrewGi/BluetoothMeshRust
Documentation

Build #4495519 2026-09-17 17:54:11

# rustc version rustc 1.100.0-nightly (923c95cdf 2026-09-16)

# docs.rs version docsrs 0.0.0 (5779ee8ca2c69daa652b2060f9f7b942ad62a4f0 2026-09-15 )

# build log [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "DOCS_RS=1" "-w" "/opt/rustwide/workdir" "--user" "1001:1001" "0af0ccc7b07d2cc39052bb9855422d927cbda0a9df070f72bfaa497ff3442e25" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "rustdoc" "--lib" "-Zrustdoc-map" "--config" "build.rustdocflags=[\"--cfg\", \"docsrs\", \"-Z\", \"unstable-options\", \"--emit=html-non-static-files\", \"--resource-suffix\", \"-20260916-1.100.0-nightly-923c95cdf\", \"--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\"" "-j12" "--target" "x86_64-unknown-linux-gnu" "-Zrustdoc-scrape-examples", kill_on_drop: false }` [INFO] [stderr] warning: Cargo.toml: `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: Cargo.toml: `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: Cargo.toml: `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: `btle` (manifest) generated 3 warnings [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] help: there's a similarly named item `MetaEventMask` [INFO] [stderr] | [INFO] [stderr] 1 - //! LE [`SetEventMask`] and [`EventMask`] for dealing with LE event masks. [INFO] [stderr] 1 + //! LE [`MetaEventMask`] and [`EventMask`] for dealing with LE event masks. [INFO] [stderr] | [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.55s [INFO] [stderr] Generated /opt/rustwide/target/x86_64-unknown-linux-gnu/doc/btle/index.html [INFO] running `Command { std: "docker" "inspect" "0af0ccc7b07d2cc39052bb9855422d927cbda0a9df070f72bfaa497ff3442e25", kill_on_drop: false }`