Commit Graph

36 Commits

Author SHA1 Message Date
813ef542bb Added tracker response parsing. WIP 2024-08-13 00:59:08 +02:00
f1fc2ae288 [bencode] Removed custom parsing, because it has been replaced with serde impls 2024-08-12 00:46:29 +02:00
2647cee911 Minor cleanup 2024-08-12 00:41:33 +02:00
ee092097c7 [bencode/ser] Properly sort dictionaries 2024-08-12 00:40:51 +02:00
40a298f3cc [torrent] Moved torrent structures to own module and added correctness test 2024-08-11 23:55:06 +02:00
fd4a7e3589 [main] Implemented joining pathes for FileInfos. Still broken though :/ 2024-08-11 23:40:17 +02:00
0cfc7e19a4 [main] Switched to using serde impls 2024-08-11 23:10:27 +02:00
6eb7f08388 [bencode/de] Improved syntax error messages 2024-08-11 21:47:12 +02:00
00e84033b4 [bencode/de] Implemented any deserialization 2024-08-11 20:40:54 +02:00
7556471090 [bencode] Implement round trip test 2024-08-11 20:16:13 +02:00
18c7eb9e81 [bencode/de] Implement tuples 2024-08-11 18:58:23 +02:00
876fbe15dc [bencode/de] Implement options 2024-08-06 22:44:25 +02:00
f90876a324 [bencode/ser] Implement structs 2024-08-06 21:54:16 +02:00
b085afe9d7 [bencode/ser] Implement serializing Options in maps 2024-08-06 21:17:05 +02:00
f0fac02251 [bencode/ser] "Optimize" performance 2024-08-04 23:54:18 +02:00
0264c133ac [bencode/ser] Implemented sorting of dictionaries 2024-08-04 22:55:31 +02:00
e7553e569d Implemented some serialization 2024-08-04 16:43:09 +02:00
37c337c467 Move stuff 2024-08-03 18:10:05 +02:00
cf3fc81f06 [serde_bencode] Implemented the rest of the fucking owl 2024-08-03 16:20:46 +02:00
674f4a8af4 [serde_bencode] Implemented sequences 2024-08-02 22:47:50 +02:00
4caab65bc1 [serde_bencode] Impl byte string 2024-07-31 23:25:24 +02:00
8fb6eda144 [serde_bencode] Impl int 2024-07-31 22:09:10 +02:00
7475974764 Reimplementing bencoding with Serde. Scaffolding setup. WIP 2024-07-31 20:22:37 +02:00
ca70aa3815 Add Cargo.lock 2024-07-27 22:22:14 +02:00
22f4b576b7 Successful tracker communication 2024-07-27 22:22:05 +02:00
5ca91ed6cb Implemented handling of extra keys 2024-07-25 22:35:23 +02:00
1c2c21ec98 Implement torrent file deserialization 2024-07-25 01:14:59 +02:00
1129348248 [bencode] Change signatures some more 2024-07-24 23:29:41 +02:00
854858c854 [bencode] Change signatures 2024-07-24 23:24:53 +02:00
aa8bb213a3 [bencode] Implement sha1 hash 2024-07-23 23:01:23 +02:00
32650e811d [bencode] Implement encoding 2024-07-23 22:41:40 +02:00
1dcf4f6a37 Read actual torrent file and "pretty" print it 2024-07-22 22:51:46 +02:00
f9ed2388a2 [bencode] Decode dicts 2024-07-22 22:05:59 +02:00
e2b2f8efca [bencode] Decode lists 2024-07-22 00:16:11 +02:00
81017b3f90 [bencode] Decode bytes 2024-07-21 13:32:10 +02:00
3d0f1875a8 Initial commit 2024-07-21 12:46:10 +02:00