Commit graph

14 commits

Author SHA1 Message Date
Igor Katson
c7ed475f54
Use bytes crate for zerocopy and memory re-use (#182)
* Use bytes. Not yet zerocopy everywhere but compiles

* Actually zerocopy

* Actually zerocopy

* Not actually storing the torrent on disk now
2024-08-14 12:08:46 +01:00
Igor Katson
d54b67d2dc
Make the /resolve_magnet HTTP endpoint return an actual torrent file, not info 2024-08-13 19:06:17 +01:00
Igor Katson
95f958ef39
Fix new clippy lints 2024-08-03 11:16:34 +01:00
Igor Katson
fa05fe8376
Box<[u8]> instead of Vec<u8> for ByteBufOwned 2024-03-29 13:44:10 +00:00
Igor Katson
f42de46878
Revert "Box<[u8]> instead of Vec<u8> for ByteBufOwned"
This reverts commit deee41cd93.
2024-03-29 13:00:57 +00:00
Igor Katson
deee41cd93
Box<[u8]> instead of Vec<u8> for ByteBufOwned 2024-03-29 11:00:58 +00:00
Igor Katson
d9ec702f59
Remove panics in bencode serialization 2024-03-29 09:55:28 +00:00
Igor Katson
c19d757be4
Fix linter 2023-07-11 20:35:42 +01:00
Igor Katson
6968a4e449
Cargo clippy: fix the majority of errors 2022-12-08 20:20:23 +00:00
Igor Katson
b2fb4729c7 Fix or disable all failing tests. Fix all cargo clippy warnings 2021-10-18 16:38:43 +01:00
Igor Katson
1b0047a4a4 DHT bencode protocol more or less done 2021-07-10 12:26:37 +01:00
Igor Katson
3090f1f5bb Relax bencode value constraints 2021-07-10 00:00:40 +01:00
Igor Katson
7a947ddf79 Starting to play with alternative DHT implementations 2021-07-09 22:51:33 +01:00
Igor Katson
ad867e8e3c Move everything to workspaces 2021-07-03 19:10:59 +01:00