{"id":17874281,"url":"https://github.com/modprog/dbus-client","last_synced_at":"2026-01-19T08:32:17.659Z","repository":{"id":253013946,"uuid":"841199452","full_name":"ModProg/dbus-client","owner":"ModProg","description":null,"archived":false,"fork":false,"pushed_at":"2024-08-13T22:19:03.000Z","size":27,"stargazers_count":0,"open_issues_count":3,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-07T23:46:25.618Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ModProg.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE-APACHE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-08-11T22:38:13.000Z","updated_at":"2024-08-13T22:19:07.000Z","dependencies_parsed_at":"2024-08-14T00:44:14.634Z","dependency_job_id":"066aa575-6c9a-4329-b231-b00e854603b2","html_url":"https://github.com/ModProg/dbus-client","commit_stats":null,"previous_names":["modprog/dbus-client"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ModProg/dbus-client","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ModProg%2Fdbus-client","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ModProg%2Fdbus-client/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ModProg%2Fdbus-client/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ModProg%2Fdbus-client/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ModProg","download_url":"https://codeload.github.com/ModProg/dbus-client/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ModProg%2Fdbus-client/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28564011,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-19T03:31:16.861Z","status":"ssl_error","status_checked_at":"2026-01-19T03:31:15.069Z","response_time":67,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-28T11:08:19.078Z","updated_at":"2026-01-19T08:32:17.640Z","avatar_url":"https://github.com/ModProg.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# dbus-client\n\n[![CI Status](https://github.com/ModProg/dbus-client/actions/workflows/test.yaml/badge.svg)](https://github.com/ModProg/dbus-client/actions/workflows/test.yaml)\n[![Crates.io](https://img.shields.io/crates/v/dbus-client)](https://crates.io/crates/dbus-client)\n[![Docs.rs](https://img.shields.io/crates/v/template?color=informational\u0026label=docs.rs)](https://docs.rs/dbus-client)\n[![Documentation for `main`](https://img.shields.io/badge/docs-main-informational)](https://modprog.github.io/dbus-client/dbus_client/)\n\n## D-Bus Types\n\nFor more details on the D-Bus type system see the [D-Bus Specification](https://dbus.freedesktop.org/doc/dbus-specification.html#type-system).\n\n### Simple Types \n| D-Bus Name           | Rust          |\n| -------------------- | ------------- |\n| b**y**te             | [`u8`]        |\n| **b**oolean          | [`bool`]      |\n| int16 **n**          | [`i16`]       |\n| uint16 **q**         | [`u16`]       |\n| **i**nt32            | [`i32`]       |\n| **u**int32           | [`u32`]       |\n| **d**ouble           | [`f64`]       |\n| **h**andle (UNIX_FD) | [`File`]      |\n| **s**tring           | [`String`]    |\n| **o**bject_path      | [`Path`]      |\n| si**g**nature        | [`Signature`] |\n\n### Complex Types\n\n| D-Bus Name                            | Signature             | Rust                |\n| ------------------------------------- | --------------------- | ------------------- |\n| st**r**uct                            | `(` *t1* *t2* ... `)` | [`(t1, t2, ...)`]   |\n| **a**rray                             | `a` *t*               | [`Vec\u003ct\u003e`]          |\n| **v**ariant                           | `v`                   | [`Variant`]         |\n| **a**rray containing dict_**e**ntries | `a{` *t1* *t2* `}`    | [`HashMap\u003ct1, t2\u003e`] |\n\n### `DbusObject`\n\nAny Rust type implementing [`DbusObject`] can be used as a type in the macro as well. When used in the return type, prefix with `@`.\n\n### Types implementing [`Append`] / [`Get`]\nTypes implementing [`Append`] / [`Get`] can be used as well. Use [`#[dbus_dict(t)]`] to map *named structs* to `a{s t}` (if `t` parameter is omitted, **v**ariant is used instead). [`#[dbus_struct(t1 t2 ...)]`] will map both *named* and *tuple structs* to `(t1 t2 ...)` using the types of the fields, unless a different type using the optional arguments `t1`, `t2`, ... are specified. \n\n[`u8`]: https://doc.rust-lang.org/std/primitive.u8.html\n[`bool`]: https://doc.rust-lang.org/std/primitive.bool.html\n[`i16`]: https://doc.rust-lang.org/std/primitive.i16.html\n[`u16`]: https://doc.rust-lang.org/std/primitive.u16.html\n[`i32`]: https://doc.rust-lang.org/std/primitive.i32.html\n[`u32`]: https://doc.rust-lang.org/std/primitive.u32.html\n[`f64`]: https://doc.rust-lang.org/std/primitive.f64.html\n[`File`]: https://doc.rust-lang.org/std/fs/struct.File.html\n[`Path`]: https://docs.rs/dbus/latest/dbus/strings/struct.Path.html\n[`Signature`]: https://docs.rs/dbus/latest/dbus/strings/struct.Signature.html\n[`(t1, t2, ...)`]: https://doc.rust-lang.org/std/primitive.tuple.html\n[`Vec\u003ct\u003e`]: https://doc.rust-lang.org/std/vec/struct.Vec.html\n[`Variant`]: https://docs.rs/dbus/latest/dbus/arg/struct.Variant.html\n[`HashMap\u003ct1, t2\u003e`]: https://doc.rust-lang.org/std/collections/struct.HashMap.html\n[`DbusObject`]: TODO\n[`Append`]: https://docs.rs/dbus/latest/dbus/arg/trait.Append.html\n[`Get`]: https://docs.rs/dbus/latest/dbus/arg/trait.Get.html\n[`#[dbus_dict(t)]`]: TODO\n[`#[dbus_struct(t1 t2 ...)]`]: TODO\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmodprog%2Fdbus-client","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmodprog%2Fdbus-client","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmodprog%2Fdbus-client/lists"}