Crates.io | bluez-generated |
lib.rs | bluez-generated |
version | 0.3.0 |
source | src |
created_at | 2020-10-18 20:11:48.175828 |
updated_at | 2023-01-18 17:19:37.596222 |
description | Generated async D-Bus bindings for talking to BlueZ on Linux. |
homepage | |
repository | https://github.com/bluez-rs/bluez-async/ |
max_upload_size | |
id | 302402 |
size | 104,753 |
Generated async D-Bus bindings for talking to BlueZ on Linux.
Bindings are generated from introspection data, using
dbus-codegen
. This means that it is relatively easy to
maintain, but it only covers interfaces that I have the devices for.
If there is an interface that you need which is not generated, it should be reasonably straightforward to generate them and send a pull request. See introspect.sh for details. It's also perfectly reasonable to generate the interfaces you need and vendor them into your project.
Only async bindings are generated. Blocking bindings could also be generated, but I'm unlikely to use them, so they would need to be contributed by someone else.
It would be nice to generate some strongly typed bindings around add_match()
for subscribing to
PropertiesChanged
signals as as stream for a particular property.
Licensed under either of
at your option.
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.