Registry / networking / bluer

bluer

JSON →
library0.17.4rscratesunverified

Official Rust interface to the Linux Bluetooth protocol stack (BlueZ).

networking
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

use bluer::Adapter;

Powers on the default Bluetooth adapter using BlueZ.

use bluer::Adapter; #[tokio::main] async fn main() -> bluer::Result<()> { let session = bluer::Session::new().await?; let adapter = session.default_adapter().await?; adapter.set_powered(true).await?; println!("Bluetooth adapter is powered on"); Ok(()) }
Debug
Known footguns
gotchaRequires Linux with BlueZ installed and D-Bus running.
Upgrade
Version history

Breaking-change detection hasn't run for this library yet.

Audit
Security & dependencies

CVE tracking and dependency tree are planned for a later release.

Agent activity
11 hits · last 30 days
gptbot
3
claudebot
3
Resources