{"id":33927379,"url":"https://github.com/danclive/queen","last_synced_at":"2025-12-12T10:58:22.079Z","repository":{"id":62443347,"uuid":"103347897","full_name":"danclive/queen","owner":"danclive","description":null,"archived":false,"fork":false,"pushed_at":"2022-01-27T13:43:56.000Z","size":632,"stargazers_count":21,"open_issues_count":0,"forks_count":4,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-08-16T22:37:30.304Z","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/danclive.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}},"created_at":"2017-09-13T03:18:22.000Z","updated_at":"2024-10-02T17:49:43.000Z","dependencies_parsed_at":"2022-11-01T22:16:38.246Z","dependency_job_id":null,"html_url":"https://github.com/danclive/queen","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/danclive/queen","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danclive%2Fqueen","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danclive%2Fqueen/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danclive%2Fqueen/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danclive%2Fqueen/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/danclive","download_url":"https://codeload.github.com/danclive/queen/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danclive%2Fqueen/sbom","scorecard":{"id":318613,"data":{"date":"2025-08-11","repo":{"name":"github.com/danclive/queen","commit":"83ec5d474af7a5f2b17c375db86599d00c752db5"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3.4,"checks":[{"name":"Code-Review","score":0,"reason":"Found 0/30 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"SAST","score":0,"reason":"no SAST tool detected","details":["Warn: no pull requests merged into dev branch"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yml:18: update your workflow using https://app.stepsecurity.io/secureworkflow/danclive/queen/ci.yml/master?enable=pin","Info:   0 out of   1 GitHub-owned GitHubAction dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/ci.yml:1","Info: no jobLevel write permissions found"],"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: MIT License: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}}]},"last_synced_at":"2025-08-18T00:52:37.759Z","repository_id":62443347,"created_at":"2025-08-18T00:52:37.760Z","updated_at":"2025-08-18T00:52:37.760Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":27681517,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-12-12T02:00:06.775Z","response_time":129,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":"2025-12-12T10:58:21.548Z","updated_at":"2025-12-12T10:58:22.070Z","avatar_url":"https://github.com/danclive.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Queen\n\n[![crates.io](https://img.shields.io/crates/v/queen.svg)](https://crates.io/crates/queen)\n[![CI](https://github.com/danclive/queen/actions/workflows/ci.yml/badge.svg)](https://github.com/danclive/queen/actions/workflows/ci.yml)\n[![MIT licensed](https://img.shields.io/badge/license-MIT-blue.svg)](./LICENSE)\n[![Released API docs](https://docs.rs/queen/badge.svg)](https://docs.rs/queen)\n\nQueen is a message bus\n\n## features\n\n* subscribe-publish \u0026 request-response\n* one to one, one to many\n* use [nson](https://github.com/danclive/nson) as a data format\n* support message encryption\n* ... more\n\n## example\n\n```rust\nuse std::time::Duration;\n\nuse queen::{Socket, Node, Port, NonHook};\nuse queen::net::{NsonCodec, KeepAlive};\nuse queen::dict::*;\nuse queen::nson::{MessageId, msg};\nuse queen::error::Code;\n\nfn main() {\n    let socket = Socket::new(MessageId::new(), NonHook).unwrap();\n\n    // start wire 1\n    let wire1 = socket.connect(MessageId::new(), false, msg!{}, None, None).unwrap();\n\n    wire1.send(msg!{\n        CHAN: PING\n    }).unwrap();\n\n    let ret = wire1.wait(Some(Duration::from_secs(1))).unwrap();\n    println!(\"wire 1 ping ret: {:?}\", ret);\n\n    // start node\n    let _node = Node::\u003cNsonCodec\u003e::new(\n        socket.clone(),\n        4,\n        vec![\"127.0.0.1:8888\".parse().unwrap()],\n        KeepAlive::default(),\n        ()\n    ).unwrap();\n\n    // start port\n    let port = Port::\u003cNsonCodec\u003e::new(KeepAlive::default()).unwrap();\n\n    // start wire 2\n    let wire2 = port.connect(\"127.0.0.1:8888\", MessageId::new(), false, msg!{}, None, None).unwrap();\n\n    wire2.send(msg!{\n        CHAN: PING\n    }).unwrap();\n\n    let ret = wire2.wait(Some(Duration::from_secs(1))).unwrap();\n    if let Some(err) = Code::get(\u0026ret) {\n        if err != Code::Ok {\n            println!(\"wire 2 ping error: {:?}\", err);\n            return\n        }\n    }\n\n    println!(\"wire 2 ping ret: {:?}\", ret);\n\n    // wire 1 attach\n    wire1.send(msg!{\n        CHAN: ATTACH,\n        VALUE: \"hello\"\n    }).unwrap();\n\n    let ret = wire1.wait(Some(Duration::from_secs(1))).unwrap();\n    println!(\"wire 1 attach ret: {:?}\", ret);\n\n    // wire 2 send\n    wire2.send(msg!{\n        ID: MessageId::new(),\n        CHAN: \"hello\",\n        \"hello\": \"world\"\n    }).unwrap();\n\n    // wire 1 recv\n    let ret = wire1.wait(Some(Duration::from_secs(1))).unwrap();\n    if let Some(err) = Code::get(\u0026ret) {\n        if err != Code::Ok {\n            println!(\"wire 1 recv error: {:?}\", err);\n            return\n        }\n    }\n\n    println!(\"wire 1 recv ret: {:?}\", ret);\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdanclive%2Fqueen","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdanclive%2Fqueen","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdanclive%2Fqueen/lists"}