{"id":18847516,"url":"https://github.com/nanne007/libp2p-rpc","last_synced_at":"2026-04-29T15:35:59.067Z","repository":{"id":148344730,"uuid":"248911437","full_name":"nanne007/libp2p-rpc","owner":"nanne007","description":"A libp2p behaviour to enable you do request/response things upon substream.","archived":false,"fork":false,"pushed_at":"2020-07-01T12:48:24.000Z","size":26,"stargazers_count":3,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-05-23T00:32:25.206Z","etag":null,"topics":["libp2p","network","rpc","rust"],"latest_commit_sha":null,"homepage":"","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/nanne007.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}},"created_at":"2020-03-21T05:14:08.000Z","updated_at":"2022-01-14T04:27:07.000Z","dependencies_parsed_at":"2023-05-19T20:15:29.650Z","dependency_job_id":null,"html_url":"https://github.com/nanne007/libp2p-rpc","commit_stats":null,"previous_names":["nanne007/libp2p-rpc"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/nanne007/libp2p-rpc","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nanne007%2Flibp2p-rpc","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nanne007%2Flibp2p-rpc/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nanne007%2Flibp2p-rpc/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nanne007%2Flibp2p-rpc/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nanne007","download_url":"https://codeload.github.com/nanne007/libp2p-rpc/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nanne007%2Flibp2p-rpc/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32432049,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-29T13:34:34.882Z","status":"ssl_error","status_checked_at":"2026-04-29T13:34:29.830Z","response_time":110,"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":["libp2p","network","rpc","rust"],"created_at":"2024-11-08T03:08:34.560Z","updated_at":"2026-04-29T15:35:59.046Z","avatar_url":"https://github.com/nanne007.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# libp2p-rpc\n\nImplementation of RPC protocol for libp2p.\nThe core idea is adopted from libra network implementation.\nI implement it to learn the design and concept of libp2p, so use it at your risk.\n\n## Usage\n\n``` rust\n        let mut rpc = Rpc::new(RpcConfig::default());\n        rpc.add_protocol(TEST_PROTOCOL);\n        let swarm = Swarm::new(transport, rpc, pubkey.clone().into_peer_id());\n        swarm.send_rpc(\n            peer_id,\n            TEST_PROTOCOL,\n            Bytes::from(data),\n            Duration::from_secs(10),\n        );\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnanne007%2Flibp2p-rpc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnanne007%2Flibp2p-rpc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnanne007%2Flibp2p-rpc/lists"}