{"id":16202581,"url":"https://github.com/polymeilex/slimbus","last_synced_at":"2026-02-27T22:37:33.119Z","repository":{"id":222587218,"uuid":"757822745","full_name":"PolyMeilex/slimbus","owner":"PolyMeilex","description":"Rust D-Bus crate on a diet","archived":false,"fork":false,"pushed_at":"2025-04-28T01:18:28.000Z","size":176,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-19T12:55:35.612Z","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":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/PolyMeilex.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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,"zenodo":null}},"created_at":"2024-02-15T03:52:21.000Z","updated_at":"2025-04-28T01:18:32.000Z","dependencies_parsed_at":"2024-06-13T05:18:11.737Z","dependency_job_id":"38a2295a-4873-437b-9a31-657befcd24e1","html_url":"https://github.com/PolyMeilex/slimbus","commit_stats":null,"previous_names":["polymeilex/slimbus"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/PolyMeilex/slimbus","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PolyMeilex%2Fslimbus","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PolyMeilex%2Fslimbus/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PolyMeilex%2Fslimbus/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PolyMeilex%2Fslimbus/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/PolyMeilex","download_url":"https://codeload.github.com/PolyMeilex/slimbus/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PolyMeilex%2Fslimbus/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29917812,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-27T19:37:42.220Z","status":"ssl_error","status_checked_at":"2026-02-27T19:37:41.463Z","response_time":57,"last_error":"SSL_read: 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-10T09:48:33.945Z","updated_at":"2026-02-27T22:37:33.102Z","avatar_url":"https://github.com/PolyMeilex.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"[zbus](https://github.com/dbus2/zbus/tree/main) but on a diet (2200 LOC)\n\nThis is basically stripped down alternative to zbus, it's only goal is to be as small as possible. No heavy deps, no async, no Windows support, no macOS support, no fancy abstractions, just a socket and message de/serialization.\n\nCurrent dependency graph (hopefully it will get even smaller):\n```\nslimbus\n├── enumflags2\n├── log\n├── rustix\n├── serde\n└── zvariant\n```\n\n```rs\nfn main() -\u003e Result\u003c()\u003e {\n    let (mut connection, mut reader) = Connection::session()?;\n\n    let msg = Message::method(\"/org/freedesktop/DBus\", \"Hello\")?\n        .destination(\"org.freedesktop.DBus\")?\n        .interface(\"org.freedesktop.DBus\")?\n        .build(\u0026())?;\n\n    let serial = msg.primary_header().serial_num();\n    let name = loop {\n        let msg = reader.read_socket()?;\n\n        println!(\"Got message: {:?}\", msg);\n        if msg.header().reply_serial() == Some(serial) {\n            let body: OwnedUniqueName = msg.body().deserialize()?;\n            break body;\n        }\n    };\n\n    dbg!(name);\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpolymeilex%2Fslimbus","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpolymeilex%2Fslimbus","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpolymeilex%2Fslimbus/lists"}