Commit graph

192 commits

Author SHA1 Message Date
Cyril Plisko
bf2c10b8db clap: replace deprecated attributes with current ones 2023-08-09 16:20:43 +03:00
Cyril Plisko
74eb59bee3 Enable feature "clap/deprecated" 2023-08-09 16:16:04 +03:00
Cyril Plisko
8d60cd71b4 Drop ParsedDuration and use Duration directly 2023-08-08 11:45:18 +03:00
Cyril Plisko
548fd695d4 clippy::manual_next_back 2023-08-08 11:13:48 +03:00
Cyril Plisko
671b636f47 clippy::unnecessary_mut_passed 2023-08-08 11:13:07 +03:00
Cyril Plisko
6b72d18a7b clippy::needless_pass_by_ref_mut 2023-08-08 11:10:10 +03:00
Cyril Plisko
e06d2ae1a8 clippy::redundant_locals 2023-08-08 11:08:14 +03:00
Cyril Plisko
e800bdbcfb clippy::needless_return 2023-08-08 11:04:08 +03:00
Igor Katson
2a2a4da196
Buffered read/writes in dht persistence 2023-07-14 00:15:38 +01:00
Igor Katson
3428de8f3d
Make "announce-list" optional 2023-07-11 22:27:02 +01:00
Igor Katson
c19d757be4
Fix linter 2023-07-11 20:35:42 +01:00
Igor Katson
be726e9aa3
Just messing around with itertools Either 2023-07-10 14:47:40 +01:00
Igor Katson
e1a3f86a24
Try to workaround #17 - windows not letting to open the file while rqbit has it 2023-07-10 12:18:08 +01:00
Igor Katson
a800048b7e
Added --exit-on-download option, only works without the server so far 2023-07-10 11:26:09 +01:00
Adrien Delorme
29d43dfafb
allow to use ApiInternal as a library 2023-05-07 13:12:57 +02:00
Adrien Delorme
aa4914eda4
create_request: avoid u16 overflow 2023-04-23 17:55:52 +02:00
Igor Katson
b52824df6f
HTTP API: moved everything back to functions 2022-12-08 23:56:14 +00:00
Igor Katson
1875599706
Bike shedding 2022-12-08 21:10:34 +00:00
Igor Katson
649d616972
Serde errors 2022-12-08 20:58:23 +00:00
Igor Katson
aacb8caaa3
Serde errors 2022-12-08 20:43:02 +00:00
Igor Katson
6968a4e449
Cargo clippy: fix the majority of errors 2022-12-08 20:20:23 +00:00
Igor Katson
871d927596
JSON error (playing with serde API) 2022-12-08 20:13:01 +00:00
Igor Katson
8b621059c1
Reorder code in http_api 2022-12-08 15:56:09 +00:00
Igor Katson
8cb368e73c
Prettify API a bit 2022-12-08 11:06:29 +00:00
Igor Katson
66e62d61e4
Playing with axum HTTP error handling 2022-12-08 09:28:01 +00:00
Igor Katson
818e300935
DHT: use rwlock, not mutex 2022-12-07 22:01:29 +00:00
Igor Katson
813ef92123
Change the info hash for e2e dht test 2022-12-04 22:41:07 +00:00
Igor Katson
9e8f235cb4
Add read/write timeouts and avoid stuck peers 2022-12-04 14:51:48 +00:00
Igor Katson
ae847ce99c
Upgrade deps 2022-12-04 13:12:23 +00:00
Igor Katson
15ae48e5af
Changed warp to axum 2022-12-04 12:53:55 +00:00
Igor Katson
bc11f43452
Revert "Integrate with tokio console"
This reverts commit e10da1c7dd.
2022-05-23 21:33:25 +01:00
Igor Katson
e10da1c7dd
Integrate with tokio console 2021-12-18 13:39:42 +00:00
Igor Katson
99c5830b97
Changed the loglevel of annoying log message "we are choked" to debug 2021-11-13 21:22:12 +00:00
Igor Katson
cc8011cf9a
Fix a bug in lengths computation 2021-10-28 11:00:03 +01:00
Igor Katson
37af0a4afb
Propagate sub-folder argument to command line 2021-10-26 10:21:02 +01:00
Igor Katson
804303c526
Merge pull request #9 from pcmid/pcmid/update/target_dir
Update: add sub_folder in AddTorrentOptions
2021-10-25 17:18:02 +01:00
pcmid
681e93a066
Update: add sub_folder in AddTorrentOptions 2021-10-25 22:00:47 +08:00
pcmid
18713515b9
Update: change Mbps to MiB/s 2021-10-25 18:11:46 +08:00
pcmid
8b4027e3d6
Format: cargo fmt 2021-10-25 16:46:30 +08:00
pcmid
188055c812
Fix: multiply the number of bytes by 8 2021-10-25 16:39:14 +08:00
Igor Katson
967a06a196
Enhance the HTTP API with more detail. 2021-10-23 10:06:28 +01:00
Igor Katson
a8efcfdd26 Completely change the CLI so that we have a server and a client. 2021-10-22 21:01:23 +01:00
Igor Katson
b834bb20b3 Add an option to override worker threads 2021-10-20 20:17:42 +01:00
Igor Katson
f0d14ae92b Create http api before adding the first torrent 2021-10-20 16:11:59 +01: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
3a64254971 Fix a couple bugs.
1. Bug one - last_piece_id when only_files is present.
2. Bug two - do not ensure_file_length for files we don't need.
2021-10-18 16:16:42 +01:00
Igor Katson
f739c99dc0 Update readme 2021-10-18 13:11:45 +01:00
Igor Katson
27145c758c Add scripts to build for x86_64 linux too 2021-10-17 18:17:50 +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