From 9821aabf0b50d2487b07502d3d2cd89e7d62bdbe Mon Sep 17 00:00:00 2001 From: murilo ijanc Date: Tue, 24 Mar 2026 15:04:03 -0300 Subject: Initial commit NAT-aware Kademlia DHT library for peer-to-peer networks. Features: - Distributed key-value storage (iterative FIND_NODE, FIND_VALUE, STORE) - NAT traversal via DTUN hole-punching and proxy relay - Reliable Datagram Protocol (RDP) with 7-state connection machine - Datagram transport with automatic fragmentation/reassembly - Ed25519 packet authentication - 256-bit node IDs (Ed25519 public keys) - Rate limiting, ban list, and eclipse attack mitigation - Persistence and metrics - OpenBSD and Linux support --- Cargo.toml | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 Cargo.toml (limited to 'Cargo.toml') diff --git a/Cargo.toml b/Cargo.toml new file mode 100644 index 0000000..ffbcb16 --- /dev/null +++ b/Cargo.toml @@ -0,0 +1,26 @@ +[package] +name = "tesseras-dht" +version = "0.1.0" +edition = "2024" +authors = [ "murilo ijanc' " ] +categories = ["network-programming"] +description = "NAT-aware Kademlia DHT library" +homepage = "https://tesseras.net" +keywords = ["dht", "kademlia", "p2p", "nat", "distributed"] +license = "ISC" +readme = "README.md" +repository = "https://git.sr.ht/~ijanc/tesseras-dht" +rust-version = "1.93.0" + +[dependencies] +ed25519-dalek = "=2.2.0" +log = "=0.4.29" +mio = { version = "=1.1.1", features = ["net", "os-poll"] } +sha2 = "=0.10.9" + +[dev-dependencies] +env_logger = "0.11" + +[[bench]] +name = "bench" +harness = false -- cgit v1.2.3