diff --git a/Cargo.lock b/Cargo.lock index f8875bd0..eef80d69 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1265,7 +1265,7 @@ dependencies = [ [[package]] name = "librqbit" -version = "5.5.1" +version = "5.5.3" dependencies = [ "anyhow", "async-stream", @@ -1341,7 +1341,7 @@ version = "2.2.1" [[package]] name = "librqbit-core" -version = "3.5.0" +version = "3.6.1" dependencies = [ "anyhow", "directories", @@ -1362,7 +1362,7 @@ dependencies = [ [[package]] name = "librqbit-dht" -version = "5.0.0" +version = "5.0.1" dependencies = [ "anyhow", "backoff", @@ -1388,7 +1388,7 @@ dependencies = [ [[package]] name = "librqbit-peer-protocol" -version = "3.4.0" +version = "3.5.0" dependencies = [ "anyhow", "bincode", @@ -2070,7 +2070,7 @@ dependencies = [ [[package]] name = "rqbit" -version = "5.5.1" +version = "5.5.3" dependencies = [ "anyhow", "bytes", diff --git a/crates/README.md b/crates/README.md index 92c79353..5afe3a49 100644 --- a/crates/README.md +++ b/crates/README.md @@ -1,2 +1,2 @@ This package is a dependency of [rqbit](https://github.com/ikatson/rqbit) torrent client. -It can be used by itself too. See more [at the rqbit Github page](https://github.com/ikatson/rqbit). \ No newline at end of file +It can be used by itself too. See more [at the rqbit Github page](https://github.com/ikatson/rqbit). diff --git a/crates/dht/Cargo.toml b/crates/dht/Cargo.toml index c4f6aaf7..e84e29a4 100644 --- a/crates/dht/Cargo.toml +++ b/crates/dht/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "librqbit-dht" -version = "5.0.0" +version = "5.0.1" edition = "2021" description = "DHT implementation, used in rqbit torrent client." license = "Apache-2.0" @@ -33,7 +33,7 @@ rand = "0.8" indexmap = "2" dashmap = {version = "5.5.3", features = ["serde"]} clone_to_owned = {path="../clone_to_owned", package="librqbit-clone-to-owned", version = "2.2.1"} -librqbit-core = {path="../librqbit_core", version = "3.4.0"} +librqbit-core = {path="../librqbit_core", version = "3.6.0"} chrono = {version = "0.4.31", features = ["serde"]} tokio-util = "0.7.10" diff --git a/crates/librqbit/Cargo.toml b/crates/librqbit/Cargo.toml index ac238743..643226cc 100644 --- a/crates/librqbit/Cargo.toml +++ b/crates/librqbit/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "librqbit" -version = "5.5.1" +version = "5.5.3" authors = ["Igor Katson "] edition = "2021" description = "The main library used by rqbit torrent client. The binary is just a small wrapper on top of it." @@ -25,9 +25,9 @@ rust-tls = ["reqwest/rustls-tls"] bencode = {path = "../bencode", default-features=false, package="librqbit-bencode", version="2.2.1"} tracker_comms = {path = "../tracker_comms", default-features=false, package="librqbit-tracker-comms", version="1.0.0"} buffers = {path = "../buffers", package="librqbit-buffers", version = "2.2.1"} -librqbit-core = {path = "../librqbit_core", version = "3.5.0"} +librqbit-core = {path = "../librqbit_core", version = "3.6.1"} clone_to_owned = {path = "../clone_to_owned", package="librqbit-clone-to-owned", version = "2.2.1"} -peer_binary_protocol = {path = "../peer_binary_protocol", package="librqbit-peer-protocol", version = "3.4.0"} +peer_binary_protocol = {path = "../peer_binary_protocol", package="librqbit-peer-protocol", version = "3.5.0"} sha1w = {path = "../sha1w", default-features=false, package="librqbit-sha1-wrapper", version="2.2.1"} dht = {path = "../dht", package="librqbit-dht", version="5.0.0"} librqbit-upnp = {path = "../upnp", version = "0.1.0"} diff --git a/crates/librqbit_core/Cargo.toml b/crates/librqbit_core/Cargo.toml index 223f8899..9a960f40 100644 --- a/crates/librqbit_core/Cargo.toml +++ b/crates/librqbit_core/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "librqbit-core" -version = "3.5.0" +version = "3.6.1" edition = "2021" description = "Important utilities used throughout librqbit useful for working with torrents." license = "Apache-2.0" diff --git a/crates/peer_binary_protocol/Cargo.toml b/crates/peer_binary_protocol/Cargo.toml index ec064b4b..495e7bc1 100644 --- a/crates/peer_binary_protocol/Cargo.toml +++ b/crates/peer_binary_protocol/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "librqbit-peer-protocol" -version = "3.4.0" +version = "3.5.0" edition = "2021" description = "Protocol for working with torrent peers. Used in rqbit torrent client." license = "Apache-2.0" @@ -23,6 +23,6 @@ byteorder = "1" buffers = {path="../buffers", package="librqbit-buffers", version = "2.2.1"} bencode = {path = "../bencode", default-features=false, package="librqbit-bencode", version="2.2.1"} clone_to_owned = {path="../clone_to_owned", package="librqbit-clone-to-owned", version = "2.2.1"} -librqbit-core = {path="../librqbit_core", version = "3.4.0"} +librqbit-core = {path="../librqbit_core", version = "3.6.0"} bitvec = "1" anyhow = "1" \ No newline at end of file diff --git a/crates/rqbit/Cargo.toml b/crates/rqbit/Cargo.toml index b8cb1cd8..4c936aea 100644 --- a/crates/rqbit/Cargo.toml +++ b/crates/rqbit/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "rqbit" -version = "5.5.1" +version = "5.5.3" authors = ["Igor Katson "] edition = "2021" description = "A bittorrent command line client and server." @@ -24,7 +24,7 @@ default-tls = ["librqbit/default-tls"] rust-tls = ["librqbit/rust-tls"] [dependencies] -librqbit = {path="../librqbit", default-features=false, version = "5.4.2"} +librqbit = {path="../librqbit", default-features=false, version = "5.5.2"} tokio = {version = "1", features = ["macros", "rt-multi-thread"]} console-subscriber = {version = "0.2", optional = true} anyhow = "1" diff --git a/crates/tracker_comms/Cargo.toml b/crates/tracker_comms/Cargo.toml index df0e99c3..5c6c276e 100644 --- a/crates/tracker_comms/Cargo.toml +++ b/crates/tracker_comms/Cargo.toml @@ -16,7 +16,7 @@ anyhow = "1" futures = "0.3" async-stream = "0.3.5" buffers = {path = "../buffers", package="librqbit-buffers", version = "2.2.1"} -librqbit-core = {path = "../librqbit_core", version = "3.5.0"} +librqbit-core = {path = "../librqbit_core", version = "3.6.0"} byteorder = "1.5" serde = {version = "1", features=["derive"]} urlencoding = "2" diff --git a/crates/tracker_comms/README.md b/crates/tracker_comms/README.md new file mode 120000 index 00000000..32d46ee8 --- /dev/null +++ b/crates/tracker_comms/README.md @@ -0,0 +1 @@ +../README.md \ No newline at end of file diff --git a/desktop/src-tauri/Cargo.lock b/desktop/src-tauri/Cargo.lock index 0e2a4d8c..b9520f9b 100644 --- a/desktop/src-tauri/Cargo.lock +++ b/desktop/src-tauri/Cargo.lock @@ -147,9 +147,9 @@ dependencies = [ "bytes", "futures-util", "http 1.0.0", - "http-body 1.0.0", + "http-body", "http-body-util", - "hyper 1.2.0", + "hyper", "hyper-util", "itoa 1.0.9", "matchit", @@ -180,7 +180,7 @@ dependencies = [ "bytes", "futures-util", "http 1.0.0", - "http-body 1.0.0", + "http-body", "http-body-util", "mime", "pin-project-lite", @@ -1362,28 +1362,9 @@ dependencies = [ [[package]] name = "h2" -version = "0.3.22" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4d6250322ef6e60f93f9a2162799302cd6f68f79f6e5d85c8c16f14d1d958178" -dependencies = [ - "bytes", - "fnv", - "futures-core", - "futures-sink", - "futures-util", - "http 0.2.11", - "indexmap 2.1.0", - "slab", - "tokio", - "tokio-util", - "tracing", -] - -[[package]] -name = "h2" -version = "0.4.2" +version = "0.4.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "31d030e59af851932b72ceebadf4a2b5986dba4c3b99dd2493f8273a0f151943" +checksum = "51ee2dd2e4f378392eeff5d51618cd9a63166a2513846bbc55f21cfacd9199d4" dependencies = [ "bytes", "fnv", @@ -1493,17 +1474,6 @@ dependencies = [ "itoa 1.0.9", ] -[[package]] -name = "http-body" -version = "0.4.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d5f38f16d184e36f2408a55281cd658ecbd3ca05cce6d6510a176eca393e26d1" -dependencies = [ - "bytes", - "http 0.2.11", - "pin-project-lite", -] - [[package]] name = "http-body" version = "1.0.0" @@ -1523,7 +1493,7 @@ dependencies = [ "bytes", "futures-util", "http 1.0.0", - "http-body 1.0.0", + "http-body", "pin-project-lite", ] @@ -1545,30 +1515,6 @@ version = "1.0.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "df3b46402a9d5adb4c86a0cf463f42e19994e3ee891101b1841f30a545cb49a9" -[[package]] -name = "hyper" -version = "0.14.27" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ffb1cfd654a8219eaef89881fdb3bb3b1cdc5fa75ded05d6933b2b382e395468" -dependencies = [ - "bytes", - "futures-channel", - "futures-core", - "futures-util", - "h2 0.3.22", - "http 0.2.11", - "http-body 0.4.5", - "httparse", - "httpdate", - "itoa 1.0.9", - "pin-project-lite", - "socket2 0.4.10", - "tokio", - "tower-service", - "tracing", - "want", -] - [[package]] name = "hyper" version = "1.2.0" @@ -1578,28 +1524,32 @@ dependencies = [ "bytes", "futures-channel", "futures-util", - "h2 0.4.2", + "h2", "http 1.0.0", - "http-body 1.0.0", + "http-body", "httparse", "httpdate", "itoa 1.0.9", "pin-project-lite", "smallvec", "tokio", + "want", ] [[package]] name = "hyper-tls" -version = "0.5.0" +version = "0.6.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d6183ddfa99b85da61a140bea0efc93fdf56ceaa041b37d553518030827f9905" +checksum = "70206fc6890eaca9fde8a0bf71caa2ddfc9fe045ac9e5c70df101a7dbde866e0" dependencies = [ "bytes", - "hyper 0.14.27", + "http-body-util", + "hyper", + "hyper-util", "native-tls", "tokio", "tokio-native-tls", + "tower-service", ] [[package]] @@ -1609,13 +1559,17 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ca38ef113da30126bbff9cd1705f9273e15d45498615d138b0c20279ac7a76aa" dependencies = [ "bytes", + "futures-channel", "futures-util", "http 1.0.0", - "http-body 1.0.0", - "hyper 1.2.0", + "http-body", + "hyper", "pin-project-lite", - "socket2 0.5.5", + "socket2", "tokio", + "tower", + "tower-service", + "tracing", ] [[package]] @@ -1888,7 +1842,7 @@ dependencies = [ [[package]] name = "librqbit" -version = "5.5.1" +version = "5.5.3" dependencies = [ "anyhow", "async-stream", @@ -1959,7 +1913,7 @@ version = "2.2.1" [[package]] name = "librqbit-core" -version = "3.5.0" +version = "3.6.1" dependencies = [ "anyhow", "directories", @@ -1979,7 +1933,7 @@ dependencies = [ [[package]] name = "librqbit-dht" -version = "5.0.0" +version = "5.0.1" dependencies = [ "anyhow", "backoff", @@ -2004,7 +1958,7 @@ dependencies = [ [[package]] name = "librqbit-peer-protocol" -version = "3.4.0" +version = "3.5.0" dependencies = [ "anyhow", "bincode", @@ -2203,9 +2157,9 @@ dependencies = [ [[package]] name = "mio" -version = "0.8.9" +version = "0.8.11" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3dce281c5e46beae905d4de1870d8b1509a9142b62eedf18b443b011ca8343d0" +checksum = "a4a650543ca06a924e8b371db273b2756685faae30f8487da1b56505a8f78b0c" dependencies = [ "libc", "wasi 0.11.0+wasi-snapshot-preview1", @@ -3018,20 +2972,22 @@ checksum = "c08c74e62047bb2de4ff487b251e4a92e24f48745648451635cec7d591162d9f" [[package]] name = "reqwest" -version = "0.11.22" +version = "0.12.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "046cd98826c46c2ac8ddecae268eb5c2e58628688a5fc7a2643704a73faba95b" +checksum = "e333b1eb9fe677f6893a9efcb0d277a2d3edd83f358a236b657c32301dc6e5f6" dependencies = [ "base64 0.21.5", "bytes", "encoding_rs", "futures-core", "futures-util", - "h2 0.3.22", - "http 0.2.11", - "http-body 0.4.5", - "hyper 0.14.27", + "h2", + "http 1.0.0", + "http-body", + "http-body-util", + "hyper", "hyper-tls", + "hyper-util", "ipnet", "js-sys", "log", @@ -3040,9 +2996,11 @@ dependencies = [ "once_cell", "percent-encoding", "pin-project-lite", + "rustls-pemfile", "serde", "serde_json", "serde_urlencoded", + "sync_wrapper", "system-configuration", "tokio", "tokio-native-tls", @@ -3065,7 +3023,7 @@ dependencies = [ [[package]] name = "rqbit-desktop" -version = "5.5.1" +version = "5.5.3" dependencies = [ "anyhow", "base64 0.21.5", @@ -3111,6 +3069,15 @@ dependencies = [ "windows-sys 0.52.0", ] +[[package]] +name = "rustls-pemfile" +version = "1.0.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1c74cae0a4cf6ccbbf5f359f08efdf8ee7e1dc532573bf0db71968cb56b1448c" +dependencies = [ + "base64 0.21.5", +] + [[package]] name = "rustversion" version = "1.0.14" @@ -3414,16 +3381,6 @@ version = "1.13.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e6ecd384b10a64542d77071bd64bd7b231f4ed5940fba55e98c3de13824cf3d7" -[[package]] -name = "socket2" -version = "0.4.10" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9f7916fc008ca5542385b89a3d3ce689953c143e9304a9bf8beec1de48994c0d" -dependencies = [ - "libc", - "winapi", -] - [[package]] name = "socket2" version = "0.5.5" @@ -3968,7 +3925,7 @@ dependencies = [ "mio", "num_cpus", "pin-project-lite", - "socket2 0.5.5", + "socket2", "tokio-macros", "windows-sys 0.48.0", ] @@ -4114,7 +4071,7 @@ dependencies = [ "bytes", "futures-util", "http 1.0.0", - "http-body 1.0.0", + "http-body", "http-body-util", "pin-project-lite", "tower-layer", diff --git a/desktop/src-tauri/Cargo.toml b/desktop/src-tauri/Cargo.toml index b3ec7fec..9df13590 100644 --- a/desktop/src-tauri/Cargo.toml +++ b/desktop/src-tauri/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "rqbit-desktop" -version = "5.5.1" +version = "5.5.3" description = "rqbit torrent client" authors = ["you"] license = ""