{"id":21257506,"url":"https://github.com/cympletech/rckad","last_synced_at":"2025-12-12T13:30:16.427Z","repository":{"id":62443708,"uuid":"191323253","full_name":"CympleTech/rckad","owner":"CympleTech","description":"Efficient and flexible S/Kademlia implementation.","archived":false,"fork":false,"pushed_at":"2020-09-25T08:01:59.000Z","size":23,"stargazers_count":5,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-06-09T18:49:56.035Z","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":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/CympleTech.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}},"created_at":"2019-06-11T08:02:27.000Z","updated_at":"2021-12-20T09:07:01.000Z","dependencies_parsed_at":"2022-11-01T22:03:27.704Z","dependency_job_id":null,"html_url":"https://github.com/CympleTech/rckad","commit_stats":null,"previous_names":["rust-cc/rckad"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/CympleTech/rckad","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CympleTech%2Frckad","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CympleTech%2Frckad/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CympleTech%2Frckad/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CympleTech%2Frckad/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/CympleTech","download_url":"https://codeload.github.com/CympleTech/rckad/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CympleTech%2Frckad/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264712779,"owners_count":23652656,"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-11-21T04:04:02.686Z","updated_at":"2025-12-12T13:30:16.395Z","avatar_url":"https://github.com/CympleTech.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Latest Version](https://img.shields.io/badge/crates.io-v0.1.0-green.svg)](https://crates.io/crates/rckad)\n\n# rckad\nEfficient and flexible Kademlia implementation. (no-std)\n\n```rust\nuse rckad::KadTree;\n\nfn main() {\n    let mut kad = KadTree::new(0, \"0\");\n    kad.add(2, \"b\");\n    kad.add(3, \"c\");\n    kad.add(4, \"e\");\n\n    assert_eq!(Some((\u00262, \u0026\"b\", true)), kad.search(\u00262));\n    assert_eq!(true, kad.contains(\u00262));\n\n    kad.remove(\u00262);\n    assert_eq!(false, kad.contains(\u00262));\n\n    let mut kad = KadTree::with_k_bucket(0, \"0\".to_owned(), 2);\n\n    for i in 1..(256 * 2 + 2) {\n        kad.add(i, format!(\"{}\", i));\n    }\n\n    assert_eq!(Some((\u002626, \u0026\"26\".to_owned(), false)), kad.search(\u002614));\n}\n\n```\n\n- [Kademlia](https://pdos.csail.mit.edu/~petar/papers/maymounkov-kademlia-lncs.pdf)\n- [S/Kademlia](http://citeseerx.ist.psu.edu/viewdoc/download?doi=10.1.1.68.4986\u0026rep=rep1\u0026type=pdf)\n\n\n## License\n\nThis project is licensed under， it's your choice.\n\n * Apache License, Version 2.0, ([LICENSE-APACHE](LICENSE-APACHE) or\n   http://www.apache.org/licenses/LICENSE-2.0)\n * MIT license ([LICENSE-MIT](LICENSE-MIT) or\n   http://opensource.org/licenses/MIT)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcympletech%2Frckad","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcympletech%2Frckad","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcympletech%2Frckad/lists"}