diff options
| author | murilo ijanc | 2026-03-24 15:04:03 -0300 |
|---|---|---|
| committer | murilo ijanc | 2026-03-24 15:04:03 -0300 |
| commit | 9821aabf0b50d2487b07502d3d2cd89e7d62bdbe (patch) | |
| tree | 53da095ff90cc755bac3d4bf699172b5e8cd07d6 /Makefile | |
| download | tesseras-dht-e908bc01403f4b8ef2a65fa6be43716fd1c6e003.tar.gz | |
Initial commitv0.1.0
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
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..2dd7cf3 --- /dev/null +++ b/Makefile @@ -0,0 +1,39 @@ +all: release + +release: + cargo build --release + +debug: + cargo build + +test: + cargo test + +test-release: + cargo test --release + +check: + cargo check + +clean: + cargo clean + +fmt: + cargo fmt + +clippy: + cargo clippy -- -D warnings + +examples: release + cargo build --release --examples + +doc: + cargo doc --no-deps --open + +audit: + cargo deny check + +bench: + cargo bench + +.PHONY: all release debug test test-release check clean fmt clippy examples doc audit bench |