Commit graph

16 commits

Author SHA1 Message Date
yggverse
e6b37c1c5f implement Display trait for InfoHash #226 2025-06-03 13:02:44 +03:00
Cameron Garnham
a4c1bbfe55
dev: add ordinal compare to udp primitive types 2024-07-15 20:25:42 +02:00
Joakim Frostegård
215a22c95b Run cargo fmt 2024-05-03 22:38:47 +02:00
Joakim Frostegård
755281d340 udp protocol: test that parsing slices of various lengths doesn't panic 2024-05-03 22:29:15 +02:00
Joakim Frostegård
3513b714b4 udp: consistently use NonZeroU16 for announce request port 2024-02-03 11:46:38 +01:00
Joakim Frostegård
97688ed074 udp: disallow announce requests with port value of 0 2024-02-02 14:08:08 +01:00
Joakim Frostegård
239266ddab udp protocol: improve README 2024-01-29 20:01:05 +01:00
Joakim Frostegård
fee465d205 udp protocol: derive Copy for multiple structs 2024-01-29 19:45:29 +01:00
Joakim Frostegård
41efa151af udp protocol: implement write_bytes for individual request types 2024-01-29 19:42:56 +01:00
Joakim Frostegård
1c59972834 udp protocol: rename "write" and "from_bytes" methods 2024-01-29 19:38:12 +01:00
Joakim Frostegård
a0c79970fe Add separate READMEs for bencher, peer_id and all protocol crates 2024-01-27 18:05:21 +01:00
Joakim Frostegård
5401eaf85f Run cargo clippy --fix and cargo fmt 2024-01-20 09:56:14 +01:00
Joakim Frostegård
0eaa4475e2 udp: index peers by packet src ip and provided port instead of peer_id 2024-01-04 17:04:17 +01:00
Joakim Frostegård
0c4140165b udp: reuse response channel mem, add backpressure, faster peer extract 2023-12-10 12:07:38 +01:00
Joakim Frostegård
0e12dd1b13 use zerocopy in udp protocol, easy running transfer CI locally 2023-12-02 12:24:41 +01:00
Joakim Frostegård
9b032f7e24 Move all crates to new crates dir 2023-10-18 23:53:41 +02:00