Commit graph

157 commits

Author SHA1 Message Date
Igor Katson
d14d29b688 Update to cross-compile with openssl on linux 2021-10-18 12:59:51 +01:00
Igor Katson
0cefaf6b10 Update README 2021-10-17 18:27:07 +01:00
Igor Katson
27145c758c Add scripts to build for x86_64 linux too 2021-10-17 18:17:50 +01:00
Igor Katson
60b7d4a531 Add a command to Makefile to cross-compile on osx (release-all) 2021-10-17 13:50:46 +01:00
Igor Katson
287b21f63b Update version to 1.1.0 2021-10-17 13:24:52 +01:00
Igor Katson
f02dcd783f Cargo update 2021-10-17 13:20:52 +01:00
Igor Katson
ebfc20c291 Changed default sha1 to crypto_hash.
Hopefully it'll be easier to build now. The downside is that it allocates
a small vec on each finish, but it's much faster than rust-sha1 anyway,
at least on ARM (where I'm running rqbit myself).
2021-10-17 12:03:21 +01:00
Igor Katson
cbd47c7ba6
Merge pull request #3 from ikatson/multi-torrent
Support for downloading / managing multiple torrents at once.
2021-10-16 14:27:56 +01:00
Igor Katson
5de63af783 Prioritize last piece. Dont ask me why :) 2021-10-16 13:18:25 +01:00
Igor Katson
6bd518676d Truncate files at the start to required length 2021-10-16 12:51:17 +01:00
Igor Katson
a1c9fda32f Speed computation now better fits torrent with large pieces 2021-10-16 00:14:29 +01:00
Igor Katson
d51acba9be Fix a bug in DHT that caused panics sometimes 2021-10-16 00:14:29 +01:00
Igor Katson
3b8c4e053f Speed computation now better fits torrent with large pieces 2021-10-16 00:13:58 +01:00
Igor Katson
d0757d41c5 Print stats for each managed torrent now 2021-10-10 11:52:21 +01:00
Igor Katson
218aa4d9ee Safety note 2021-10-10 11:43:44 +01:00
Igor Katson
9b73a8ff2f Add "overwrite=true" option to torrent add API 2021-10-10 11:39:25 +01:00
Igor Katson
b1df9af3f6 Cargo check / fmt fixes 2021-10-10 11:00:04 +01:00
Igor Katson
99208800f4 Initial check to use block_in_place 2021-10-10 10:58:09 +01:00
Igor Katson
2ac76683e6 Now actually downloads 2 files at a time 2021-10-10 10:46:09 +01:00
Igor Katson
ba87529419 Fix a bug in DHT that caused panics sometimes 2021-10-10 10:45:58 +01:00
Igor Katson
64900e1fd4 Add API to add a torrent 2021-10-10 09:57:21 +01:00
Igor Katson
6e9e79a02e Move stats printing to main 2021-10-09 16:49:55 +01:00
Igor Katson
1667efdaa7 Start refactoring code to support running in background and adding multiple torrents 2021-10-09 15:03:42 +01:00
Igor Katson
6f2121e33f Update crate version to 1.0.0 2021-10-08 23:57:17 +01:00
Igor Katson
e97377e239 Add --disable-dht-persistence option to run multiple rqbit instances 2021-10-08 23:54:51 +01:00
Igor Katson
18b99c91a1 Update default peer TCP connect timeout to 10s 2021-10-08 23:54:26 +01:00
Igor Katson
f2c509359f Print download speed 2021-10-02 09:58:57 +01:00
Igor Katson
1bcc16c327 Another attempt to make it possible to build without openssl.
You'll need to cd into crates/rqbit to build with selective features.
2021-09-30 09:00:40 +01:00
Igor Katson
f40a227459 Propagte sha1 subcrate features all the way to rqbit CLI 2021-09-30 00:04:31 +01:00
Igor Katson
a6a785640f Better error message when listening on DHT 2021-09-29 19:15:04 +01:00
Igor Katson
bca55891c1 Wrap reading files into block_in_place 2021-09-29 19:10:32 +01:00
Igor Katson
f845eafca4 Update README 2021-09-29 16:41:55 +01:00
Igor Katson
19a606e465 Add LICENSE and README 2021-09-29 15:25:47 +01:00
Igor Katson
7e0d0ae3df Add LICENSE and README 2021-09-29 15:16:18 +01:00
Igor Katson
b301b159da Fix a bug 2021-07-31 13:13:04 +01:00
Igor Katson
175d5c7a97 API refactor 2021-07-19 09:04:25 +01:00
Igor Katson
5fd218d456 Nothing 2021-07-18 16:56:47 +01:00
Igor Katson
49cb6f9d65 Nothing much 2021-07-18 15:53:23 +01:00
Igor Katson
1300faa0b4 Persistent DHT 2021-07-18 10:53:33 +01:00
Igor Katson
52f17a1717 Routing table serialize / optimzie 2021-07-17 14:45:18 +01:00
Igor Katson
24c38b1de1 Saving 2021-07-16 15:40:04 +01:00
Igor Katson
ff2f74594a Reimplement routing table as a vector 2021-07-16 14:49:36 +01:00
Igor Katson
bd0df49591 Nothing, small cleanups 2021-07-16 13:58:10 +01:00
Igor Katson
ca11caf902 nothing 2021-07-14 18:09:12 +01:00
Igor Katson
1f899b63a6 Almost nothing 2021-07-14 15:50:40 +01:00
Igor Katson
3a9a858438 Peer stream is more efficient 2021-07-14 15:29:59 +01:00
Igor Katson
9340c231ba DHT broadcast lagging... 2021-07-14 14:03:42 +01:00
Igor Katson
65d2e5b87f Nothing 2021-07-14 13:42:42 +01:00
Igor Katson
98dff76c40 DHT stats in HTTP API 2021-07-14 13:40:56 +01:00
Igor Katson
f00f522767 Optimize peers a bit 2021-07-14 13:16:01 +01:00