{"id":18408268,"url":"https://github.com/protectwise/packet-ipc","last_synced_at":"2025-09-05T23:48:34.392Z","repository":{"id":55035989,"uuid":"157579185","full_name":"protectwise/packet-ipc","owner":"protectwise","description":"IPC packet sharing","archived":false,"fork":false,"pushed_at":"2021-01-14T00:04:07.000Z","size":40,"stargazers_count":2,"open_issues_count":3,"forks_count":2,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-08-11T04:26:38.814Z","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/protectwise.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":"2018-11-14T16:37:33.000Z","updated_at":"2023-03-17T11:10:03.000Z","dependencies_parsed_at":"2022-08-14T09:50:10.532Z","dependency_job_id":null,"html_url":"https://github.com/protectwise/packet-ipc","commit_stats":null,"previous_names":[],"tags_count":10,"template":false,"template_full_name":null,"purl":"pkg:github/protectwise/packet-ipc","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/protectwise%2Fpacket-ipc","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/protectwise%2Fpacket-ipc/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/protectwise%2Fpacket-ipc/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/protectwise%2Fpacket-ipc/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/protectwise","download_url":"https://codeload.github.com/protectwise/packet-ipc/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/protectwise%2Fpacket-ipc/sbom","scorecard":{"id":747169,"data":{"date":"2025-08-18","repo":{"name":"github.com/protectwise/packet-ipc","commit":"97940538813a33869788325fcdf290df6bffb946"},"scorecard":{"version":"v5.2.1-41-g40576783","commit":"40576783fda6698350fcbbeaea760ff827433034"},"score":3,"checks":[{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/40576783fda6698350fcbbeaea760ff827433034/docs/checks.md#dangerous-workflow"}},{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/40576783fda6698350fcbbeaea760ff827433034/docs/checks.md#pinned-dependencies"}},{"name":"Code-Review","score":0,"reason":"Found 1/27 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/40576783fda6698350fcbbeaea760ff827433034/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/40576783fda6698350fcbbeaea760ff827433034/docs/checks.md#packaging"}},{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/40576783fda6698350fcbbeaea760ff827433034/docs/checks.md#token-permissions"}},{"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/40576783fda6698350fcbbeaea760ff827433034/docs/checks.md#maintained"}},{"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/40576783fda6698350fcbbeaea760ff827433034/docs/checks.md#binary-artifacts"}},{"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/40576783fda6698350fcbbeaea760ff827433034/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/40576783fda6698350fcbbeaea760ff827433034/docs/checks.md#security-policy"}},{"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/40576783fda6698350fcbbeaea760ff827433034/docs/checks.md#vulnerabilities"}},{"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/40576783fda6698350fcbbeaea760ff827433034/docs/checks.md#fuzzing"}},{"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/40576783fda6698350fcbbeaea760ff827433034/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/40576783fda6698350fcbbeaea760ff827433034/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/40576783fda6698350fcbbeaea760ff827433034/docs/checks.md#branch-protection"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 12 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/40576783fda6698350fcbbeaea760ff827433034/docs/checks.md#sast"}}]},"last_synced_at":"2025-08-22T19:11:29.726Z","repository_id":55035989,"created_at":"2025-08-22T19:11:29.726Z","updated_at":"2025-08-22T19:11:29.726Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":273838280,"owners_count":25177161,"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-09-05T02:00:09.113Z","response_time":402,"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":"2024-11-06T03:18:05.322Z","updated_at":"2025-09-05T23:48:34.368Z","avatar_url":"https://github.com/protectwise.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# packet-ipc\n\n[![build status][travis-badge]][travis-url]\n[![crates.io version][crates-badge]][crates-url]\n[![docs.rs docs][docs-badge]][docs-url]\n[![MIT licensed][mit-badge]][mit-url]\n\nLibrary to share packets between processes using [servo's ipc-channel](https://github.com/servo/ipc-channel).\n\nAttempts to be as efficient as possible while still allowing packets to be used with C FFI.\n\nA packet is defined for this library as any structure which implements `AsIpcPacket`.\n\n[travis-badge]: https://img.shields.io/travis/dbcfd/packet-ipc/master.svg?style=flat-square\n[travis-url]: https://travis-ci.com/dbcfd/packet-ipc.svg?branch=master\n[crates-badge]: https://img.shields.io/crates/v/packet-ipc.svg?style=flat-square\n[crates-url]: https://crates.io/crates/packet-ipc\n[docs-badge]: https://img.shields.io/badge/docs.rs-latest-blue.svg?style=flat-square\n[docs-url]: https://docs.rs/packet-ipc\n[mit-badge]: https://img.shields.io/badge/license-MIT-blue.svg?style=flat-square\n[mit-url]: LICENSE-MIT\n\n## Usage\n\nA server must be created before a client, since the client will use the server's name to connect. \n\nTo start, create a server, and accept a connection:\n\n```rust\nlet server = Server::new().expect(\"Failed to build server\");\nlet server_name = server.name.clone();\nlet connection = futures::spawn(server.accept()).expect(\"No connection formed\");\n```\n\nOnce a server is created, you can then use the server's name to create a client:\n\n```rust\nlet client = Client::new(server_name.clone()).expect(\"Failed to connect\");\n```\n\nAt this point, you can send packets to the client:\n\n```rust\nconnection.send(Some(packets)).expect(\"Failed to send\");\n```\n\nor tell the client you are done sending packets:\n\n```rust\nconnection.send(None).expect(\"Failed to send\");\n```\n\nand close the connection:\n\n```rust\nconnection.close();\n```\n\nThe client is immediately available for use, and can receive packets using:\n\n```rust\nlet opt_packets = client.receive_packets(size).expect(\"Failed to receive packets\");\nif Some(packets) = opt_packets {\n    process_packets(packets);\n} //else server is closed\n```\n\n## Streaming Packets to Client\nOnce a connection is formed, it can be used with a stream of packets:\n\n```rust\nlet stream_result = packets_stream.transfer_ipc(connection).collect().wait();\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprotectwise%2Fpacket-ipc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fprotectwise%2Fpacket-ipc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprotectwise%2Fpacket-ipc/lists"}