{"id":18041646,"url":"https://github.com/katyo/tokio_krpc","last_synced_at":"2025-04-05T02:25:26.270Z","repository":{"id":66335255,"uuid":"117448524","full_name":"katyo/tokio_krpc","owner":"katyo","description":"KRPC implementation in Rust using Tokio","archived":false,"fork":false,"pushed_at":"2018-01-17T04:43:16.000Z","size":14,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-10T10:45:34.160Z","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/katyo.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE-MIT","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":"2018-01-14T16:51:22.000Z","updated_at":"2019-02-11T11:25:23.000Z","dependencies_parsed_at":"2024-03-14T04:32:39.679Z","dependency_job_id":null,"html_url":"https://github.com/katyo/tokio_krpc","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/katyo%2Ftokio_krpc","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/katyo%2Ftokio_krpc/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/katyo%2Ftokio_krpc/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/katyo%2Ftokio_krpc/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/katyo","download_url":"https://codeload.github.com/katyo/tokio_krpc/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247277881,"owners_count":20912616,"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":[],"created_at":"2024-10-30T16:11:13.912Z","updated_at":"2025-04-05T02:25:25.448Z","avatar_url":"https://github.com/katyo.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"KRPC protocol in Rust [![Build Status](https://travis-ci.org/katyo/tokio_krpc.svg?branch=master)](https://travis-ci.org/katyo/tokio_krpc)\n=====================\n\nKademlia Remote Procedure Call (KRPC) protocol definition from\n[BEP-0005](http://www.bittorrent.org/beps/bep_0005.html):\n\n\u003e The KRPC protocol is a simple RPC mechanism consisting of bencoded dictionaries sent over UDP.\n\u003e A single query packet is sent out and a single packet is sent in response. There is no retry.\n\u003e There are three message types: query, response, and error.\n\nImplementation notes\n--------------------\n\nThe API centered around two service interfaces:\n\n1. The service which can be called to make outgoing queries to another nodes.\n2. The service which may handle the incoming queries from another nodes.\n\nSee DHT ping example here: [tests/dht-bittorrent.rs](tests/dht-bittorrent.rs)\n\nCurrently this library developed in single threaded manner to avoid synchronization overhead.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkatyo%2Ftokio_krpc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkatyo%2Ftokio_krpc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkatyo%2Ftokio_krpc/lists"}