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
4d6b5181eb
Prepare v5.5.3 ( #98 )
...
* Forgot to commit version updates
* Cargo.toml 5.5.3
* Cargo.lock
* Tag desktop 5.5.3
* Update deps
2024-03-25 13:40:04 +00:00
Matt Joiner
b184354c2f
Make the announce info field optional
2024-03-24 18:27:08 +11:00
Igor Katson
cf2f9f34e8
Update dependencies ( #94 )
...
* Update deps
* Pin clap to older
* pin clap complete
2024-03-22 09:02:25 +00:00
kpcyrd
0f1ba8f5fe
Add command for shell completions
2024-03-15 11:40:39 +01:00
Igor Katson
8b4f3afa42
Update handshake deserialize to error on wrong messages
2024-03-09 19:56:34 +00:00
Igor Katson
5a12095959
Update handshake deserialize to error on wrong messages
2024-03-09 19:50:28 +00:00
Igor Katson
56527ae8d7
Bump all e2e test timeouts 3x
2024-03-05 02:00:43 -08:00
Igor Katson
25cd3c75cc
Tests now compile but take too long on github actions
2024-03-05 01:53:41 -08:00
Igor Katson
b8611fdaf4
Fix compilation on win
2024-03-05 01:40:54 -08:00
Igor Katson
2778d46bb3
End-to-end unit test ( #90 )
...
* First implementation of create_torrent_file
* Test harness for e2e preparing
* Saving
* Continuing test harness
* Continuing test harness
* Continuing test harness
* All servers are running
* Full e2e harness done
* Test e2e harness working fine
* Remove lints
* injecting faults
* The e2e test runs continuously
* e2e test
* Add a test for create_torrent
* Nothing
* Nothing, just tweaking the numberes
* Update tokio, remove custom tempfile shim
2024-03-05 09:18:22 +00:00
Igor Katson
5d6ecb8065
Tiny refactor for stream types
2024-03-02 11:18:38 +00:00
Igor Katson
466cad06e0
Make a stream merging function
2024-03-02 11:12:08 +00:00
Igor Katson
3a1d0c3ac9
Tiny refactor: simplify a few methods by removing initial_peers propagated too deep down
2024-03-02 10:57:32 +00:00
Igor Katson
a6ebecee97
Report size to trackers
2024-03-01 07:54:27 +00:00
Igor Katson
5488e1d40f
Split up a couple large functions
2024-02-28 20:27:45 +00:00
Igor Katson
340d54eafa
tiny: do not announce if starting paused
2024-02-28 20:06:02 +00:00
Igor Katson
ba1c52644a
5.5.1
2024-02-27 18:58:59 +00:00
Igor Katson
6fafdc16da
Nothing
2024-02-27 08:25:10 +00:00
Igor Katson
3cecb1a4c3
Remove pin<box further
2024-02-27 08:17:15 +00:00
Igor Katson
a001bb8c97
Shorten Pin<Box to BoxFuture
2024-02-27 08:14:39 +00:00
Igor Katson
1b79b66cc3
Reduce compile times even more
2024-02-27 08:00:56 +00:00
Igor Katson
34f3ec6c29
Inline(never) more things for rqbit(bin) to compile faster
2024-02-26 23:08:47 +00:00
Igor Katson
f42007f436
This one makes it better for sure
2024-02-26 22:59:54 +00:00
Igor Katson
15d17355b5
Async http server. Even slower
2024-02-26 22:52:53 +00:00
Igor Katson
2a371537fe
Nothing...
2024-02-26 22:49:16 +00:00
Igor Katson
15c078619c
Compile times are even worse now
2024-02-26 22:41:36 +00:00
Igor Katson
18f22cf323
Simplify cancellation as peer_rx doesnt need a token no longer
2024-02-26 20:45:21 +00:00
Igor Katson
39330dc717
Update some Cargo deps but not all
2024-02-26 10:19:22 +00:00
Igor Katson
1cc8c6ba85
Update npm deps
2024-02-26 10:15:28 +00:00
Igor Katson
2f36515c32
Tag v5.5.0
2024-02-26 10:02:29 +00:00
Igor Katson
d3f017430b
Comment updates
2024-02-26 09:57:09 +00:00
Igor Katson
70c59834ba
Simplify the trait for tracker comms
2024-02-26 09:47:46 +00:00
Igor Katson
b30ee13388
Logging for UDP trackers
2024-02-26 09:42:06 +00:00
Igor Katson
e263441fb6
Better cancellation
2024-02-26 09:25:01 +00:00
Igor Katson
51dba8ab67
Remove unused field
2024-02-26 08:55:53 +00:00
Igor Katson
3a7207265f
Make force_tracker_interval be used again
2024-02-18 20:21:12 +00:00
Igor Katson
76b7d23149
Clippy
2024-02-18 20:16:18 +00:00
Igor Katson
f5ccb8632b
Cancellation... It compiles now at least with latest changes, but not sure if they work or are correct
2024-02-18 20:11:12 +00:00
Igor Katson
1582d16cc5
Fix unpause
2024-02-17 21:13:57 +00:00
Igor Katson
95769cca6a
Start calling trackers before going live
2024-02-17 11:14:40 +00:00
Igor Katson
8733538d83
Abstracting tracker comms
2024-02-17 10:51:09 +00:00
Igor Katson
6f3383050e
Implement ser/de for UDP tracker protocol
2024-02-11 12:12:37 +00:00
Igor Katson
d1956ffa29
Tag 5.4.2
2024-01-21 11:11:30 +00:00
Igor Katson
5ff88dcad2
Merge pull request #76 from ikatson/fix-66
...
Fix for #66
2024-01-21 11:06:49 +00:00
Igor Katson
2a60ff2a7f
Remove "previously_requested_pieces"
...
In https://github.com/ikatson/rqbit/issues/66 from a posted stacktrace
it became clear that setting previously_requested_pieces may panic.
I found a place where it was not initialized - in "on_have" callback.
I wanted to fix that + make it less error-prone, however noticed that
previously_requested_pieces isn't used at all anyway, because its use
was removed during one of the recent refactorings.
As things seem to be working fine without it, just removed it to simplify
code.
2024-01-21 10:58:59 +00:00
Igor Katson
c8189de3d2
Merge pull request #72 from jabedude/bep52-magnet-support
...
Add support for BTv2 magnet links
2024-01-08 11:27:27 +00:00
Joshua Abraham
0836b651a7
Add support for BTv2 magnet links
2024-01-07 20:57:10 -06:00
Igor Katson
0400bdec6d
Tag 5.4.1
2024-01-03 14:41:32 +00:00