Crate dht [−] [src]
Distributed Hash Table.
The goal of this project is to provide flexible implementation of DHT for different kind of Rust applications. There will be loosely coupled parts:
- DHT neighborhood table implementation, will be represented by
GenericNodeTable
trait andKNodeTable
implementation. - Generic DHT logic implementation in
Service
andservice::Handler
structures. - Generic bits for implementing protocols in
service::Handler
structure andprotocol
module. - (In the future) simple implementations for testing purposes.
Reexports
pub use service::Service; |
Modules
protocol |
Generic protocol bits for implementing custom protocols. |
service |
Protocol-agnostic service implementation |
Structs
KNodeTable |
Kademlia node table. |
Node |
Structure representing a node in system. |
Traits
GenericId |
Generalization of num::BigUint, with hexadecimal encoding and decoding |
GenericNodeTable |
Trait representing table with known nodes. |