{"id":19358349,"url":"https://github.com/paritytech/parity-tokio-ipc","last_synced_at":"2025-04-04T07:08:27.294Z","repository":{"id":47240717,"uuid":"84968259","full_name":"paritytech/parity-tokio-ipc","owner":"paritytech","description":"Parity tokio-ipc","archived":false,"fork":false,"pushed_at":"2024-02-01T14:05:46.000Z","size":120,"stargazers_count":76,"open_issues_count":9,"forks_count":50,"subscribers_count":8,"default_branch":"master","last_synced_at":"2025-03-28T06:11:10.246Z","etag":null,"topics":["inter-process-communication","named-pipes","unix-socket"],"latest_commit_sha":null,"homepage":"","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/paritytech.png","metadata":{"files":{"readme":"README.md","changelog":null,"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":"2017-03-14T15:54:20.000Z","updated_at":"2024-06-27T14:12:39.000Z","dependencies_parsed_at":"2024-06-18T21:25:39.027Z","dependency_job_id":"2baa14c7-2902-4463-9742-c0153bc38658","html_url":"https://github.com/paritytech/parity-tokio-ipc","commit_stats":{"total_commits":113,"total_committers":10,"mean_commits":11.3,"dds":0.5221238938053097,"last_synced_commit":"618a7727cf9d4541d6986e936c127a22817d2c63"},"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/paritytech%2Fparity-tokio-ipc","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/paritytech%2Fparity-tokio-ipc/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/paritytech%2Fparity-tokio-ipc/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/paritytech%2Fparity-tokio-ipc/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/paritytech","download_url":"https://codeload.github.com/paritytech/parity-tokio-ipc/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247135144,"owners_count":20889421,"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","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":["inter-process-communication","named-pipes","unix-socket"],"created_at":"2024-11-10T07:11:18.753Z","updated_at":"2025-04-04T07:08:27.264Z","avatar_url":"https://github.com/paritytech.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# parity-tokio-ipc\n\n[![CI](https://github.com/paritytech/parity-tokio-ipc/actions/workflows/ci.yml/badge.svg)](https://github.com/paritytech/parity-tokio-ipc/actions/workflows/ci.yml)\n[![Documentation](https://docs.rs/parity-tokio-ipc/badge.svg)](https://docs.rs/parity-tokio-ipc)\n\nThis crate abstracts interprocess transport for UNIX/Windows.\n\nIt utilizes unix sockets on UNIX (via `tokio::net::UnixStream`) and named pipes on windows (via `tokio::net::windows::named_pipe` module).\n\nEndpoint is transport-agnostic interface for incoming connections:\n```rust\nuse parity_tokio_ipc::Endpoint;\nuse futures::stream::StreamExt;\n\n// For testing purposes only - instead, use a path to an actual socket or a pipe\nlet addr = parity_tokio_ipc::dummy_endpoint();\n\nlet server = async move {\n    Endpoint::new(addr)\n        .incoming()\n        .expect(\"Couldn't set up server\")\n        .for_each(|conn| async {\n            match conn {\n                Ok(stream) =\u003e println!(\"Got connection!\"),\n                Err(e) =\u003e eprintln!(\"Error when receiving connection: {:?}\", e),\n            }\n        });\n};\n\nlet rt = tokio::runtime::Builder::new_current_thread().enable_all().build().unwrap();\nrt.block_on(server);\n```\n\n\n# License\n\n`parity-tokio-ipc` is primarily distributed under the terms of both the MIT\nlicense and the Apache License (Version 2.0), with portions covered by various\nBSD-like licenses.\n\nSee LICENSE-APACHE, and LICENSE-MIT for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fparitytech%2Fparity-tokio-ipc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fparitytech%2Fparity-tokio-ipc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fparitytech%2Fparity-tokio-ipc/lists"}