Commit graph

8 commits

Author SHA1 Message Date
Igor Katson
04cfe9fc6b
can now decode torrent as JSON in the HTTP API 2024-08-19 18:46:50 +01:00
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
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
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
ad867e8e3c Move everything to workspaces 2021-07-03 19:10:59 +01:00
Renamed from crates/librqbit/src/bencode_value.rs (Browse further)