You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@iggy.apache.org by gk...@apache.org on 2025/07/29 18:18:37 UTC
(iggy) branch io_uring_tpc updated: feat(io_uring): fix build (#2056)
This is an automated email from the ASF dual-hosted git repository.
gkoszyk pushed a commit to branch io_uring_tpc
in repository https://gitbox.apache.org/repos/asf/iggy.git
The following commit(s) were added to refs/heads/io_uring_tpc by this push:
new 6ee8c496 feat(io_uring): fix build (#2056)
6ee8c496 is described below
commit 6ee8c496ccf46dbdfa5cc17f96bd996482c95451
Author: Grzegorz Koszyk <11...@users.noreply.github.com>
AuthorDate: Tue Jul 29 20:18:32 2025 +0200
feat(io_uring): fix build (#2056)
---
Cargo.lock | 298 +++++--------------------
Cargo.toml | 2 -
core/sdk/src/client_wrappers/client_wrapper.rs | 2 +-
core/sdk/src/clients/client.rs | 6 -
core/sdk/src/clients/consumer.rs | 1 -
core/sdk/src/clients/consumer_builder.rs | 1 -
core/sdk/src/clients/producer.rs | 1 -
core/sdk/src/clients/producer_builder.rs | 1 -
core/server/src/shard/system/topics.rs | 1 -
core/server/src/streaming/streams/topics.rs | 6 +-
10 files changed, 64 insertions(+), 255 deletions(-)
diff --git a/Cargo.lock b/Cargo.lock
index b5d46bb7..f811f68a 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -477,9 +477,9 @@ dependencies = [
[[package]]
name = "async-channel"
-version = "2.3.1"
+version = "2.5.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "89b47800b0be77592da0afd425cc03468052844aff33b84e33cc696f64e77b6a"
+checksum = "924ed96dd52d1b75e9c1a3e6275715fd320f5f9439fb5a4a11fa51f4221158d2"
dependencies = [
"concurrent-queue",
"event-listener-strategy",
@@ -1267,18 +1267,6 @@ dependencies = [
]
[[package]]
-<<<<<<< HEAD
-=======
-name = "castaway"
-version = "0.2.4"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "dec551ab6e7578819132c713a93c022a05d60159dc86e7a7050223577484c55a"
-dependencies = [
- "rustversion",
-]
-
-[[package]]
->>>>>>> master
name = "cc"
version = "1.2.30"
source = "registry+https://github.com/rust-lang/crates.io-index"
@@ -1863,7 +1851,7 @@ dependencies = [
"rust-ini",
"serde",
"serde_json",
- "toml 0.9.2",
+ "toml 0.9.3",
"winnow 0.7.12",
"yaml-rust2",
]
@@ -2036,24 +2024,6 @@ dependencies = [
[[package]]
name = "crc"
version = "3.3.0"
-<<<<<<< HEAD
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "9710d3b3739c2e349eb44fe848ad0b7c8cb1e42bd87ee49371df2f7acaf3e675"
-dependencies = [
- "crc-catalog",
-]
-
-[[package]]
-name = "crc-catalog"
-version = "2.4.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "19d374276b40fb8bbdee95aef7c7fa6b5316ec764510eb64b8dd0e2ed0d7e7f5"
-
-[[package]]
-name = "crc32fast"
-version = "1.4.2"
-=======
->>>>>>> master
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "9710d3b3739c2e349eb44fe848ad0b7c8cb1e42bd87ee49371df2f7acaf3e675"
dependencies = [
@@ -2178,9 +2148,9 @@ dependencies = [
[[package]]
name = "ctor"
-version = "0.4.2"
+version = "0.4.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "a4735f265ba6a1188052ca32d461028a7d1125868be18e287e756019da7607b5"
+checksum = "ec09e802f5081de6157da9a75701d6c713d8dc3ba52571fd4bd25f412644e8a6"
dependencies = [
"ctor-proc-macro",
"dtor",
@@ -2188,9 +2158,9 @@ dependencies = [
[[package]]
name = "ctor-proc-macro"
-version = "0.0.5"
+version = "0.0.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "4f211af61d8efdd104f96e57adf5e426ba1bc3ed7a4ead616e15e5881fd79c4d"
+checksum = "e2931af7e13dc045d8e9d26afccc6fa115d64e115c9c84b1166288b46f6782c2"
[[package]]
name = "ctr"
@@ -2680,9 +2650,9 @@ checksum = "92773504d58c093f6de2459af4af33faa518c13451eb8f2b5698ed3d36e7c813"
[[package]]
name = "dyn-clone"
-version = "1.0.19"
+version = "1.0.20"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "1c7a8fb8a9fbf66c1f703fe16184d10ca0ee9d23be5b4436400408ba54a95005"
+checksum = "d0881ea181b1df73ff77ffaaf9c7544ecc11e82fba9b5f27b262a3c73a332555"
[[package]]
name = "either"
@@ -2929,16 +2899,6 @@ dependencies = [
"rustc_version",
]
-[[package]]
-name = "flatbuffers"
-version = "24.12.23"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "4f1baf0dbf96932ec9a3038d57900329c015b0bfb7b63d904f3bc27e2b02a096"
-dependencies = [
- "bitflags 1.3.2",
- "rustc_version",
-]
-
[[package]]
name = "flate2"
version = "1.1.2"
@@ -4071,11 +4031,7 @@ dependencies = [
"libc",
"percent-encoding",
"pin-project-lite",
-<<<<<<< HEAD
- "socket2 0.5.10",
-=======
"socket2 0.6.0",
->>>>>>> master
"tokio",
"tower-service",
"tracing",
@@ -4266,16 +4222,12 @@ dependencies = [
"iggy",
"integration",
"nonzero_lit",
-<<<<<<< HEAD
- "rand 0.9.1",
-=======
"rand 0.9.2",
->>>>>>> master
"rayon",
"serde",
"sysinfo 0.36.1",
"tokio",
- "toml 0.9.2",
+ "toml 0.9.3",
"tracing",
"tracing-appender",
"tracing-subscriber",
@@ -4326,7 +4278,7 @@ dependencies = [
"strum",
"thiserror 2.0.12",
"tokio",
- "toml 0.9.2",
+ "toml 0.9.3",
"tower-http",
"tracing",
"tracing-subscriber",
@@ -4369,7 +4321,7 @@ dependencies = [
"serde",
"serde_json",
"tokio",
- "toml 0.9.2",
+ "toml 0.9.3",
"tracing",
]
@@ -4482,13 +4434,8 @@ dependencies = [
"iggy",
"once_cell",
"postcard",
-<<<<<<< HEAD
- "prost",
- "prost-types",
-=======
"prost 0.14.1",
"prost-types 0.14.1",
->>>>>>> master
"protox",
"protox-parse",
"regex",
@@ -4707,15 +4654,9 @@ dependencies = [
[[package]]
name = "io-uring"
-<<<<<<< HEAD
-version = "0.7.8"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "b86e202f00093dcba4275d4636b93ef9dd75d025ae560d2521b45ea28ab49013"
-=======
version = "0.7.9"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "d93587f37623a1a17d94ef2bc9ada592f5465fe7732084ab7beefabe5c77c0c4"
->>>>>>> master
dependencies = [
"bitflags 2.9.1",
"cfg-if",
@@ -4723,7 +4664,6 @@ dependencies = [
]
[[package]]
-<<<<<<< HEAD
name = "io_uring_buf_ring"
version = "0.2.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
@@ -4731,12 +4671,10 @@ checksum = "8a8867874ff5758b47c1dac069e6e86541432f9da8be9111c5e94154134f07d0"
dependencies = [
"bytes",
"io-uring",
- "rustix 1.0.7",
+ "rustix 1.0.8",
]
[[package]]
-=======
->>>>>>> master
name = "ipnet"
version = "2.11.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
@@ -4895,13 +4833,14 @@ dependencies = [
[[package]]
name = "keyring"
-version = "3.6.2"
+version = "3.6.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "1961983669d57bdfe6c0f3ef8e4c229b5ef751afcc7d87e4271d2f71f6ccfa8b"
+checksum = "eebcc3aff044e5944a8fbaf69eb277d11986064cba30c468730e8b9909fb551c"
dependencies = [
"dbus-secret-service",
"log",
"openssl",
+ "zeroize",
]
[[package]]
@@ -5034,7 +4973,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "07033963ba89ebaf1584d767badaa2e8fcec21aedea6b8c0346d487d49c28667"
dependencies = [
"cfg-if",
- "windows-targets 0.53.2",
+ "windows-targets 0.53.3",
]
[[package]]
@@ -5075,15 +5014,9 @@ dependencies = [
[[package]]
name = "libredox"
-<<<<<<< HEAD
-version = "0.1.4"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "1580801010e535496706ba011c15f8532df6b42297d2e471fec38ceadd8c0638"
-=======
-version = "0.1.6"
+version = "0.1.8"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "4488594b9328dee448adb906d8b126d9b7deb7cf5c22161ee591610bb1be83c0"
->>>>>>> master
+checksum = "360e552c93fa0e8152ab463bc4c4837fce76a225df11dfaeea66c313de5e61f7"
dependencies = [
"bitflags 2.9.1",
"libc",
@@ -5099,16 +5032,6 @@ dependencies = [
"vcpkg",
]
-[[package]]
-name = "libsqlite3-sys"
-version = "0.30.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "2e99fb7a497b1e3339bc746195567ed8d3e24945ecd636e3619d20b9de9e9149"
-dependencies = [
- "pkg-config",
- "vcpkg",
-]
-
[[package]]
name = "libyml"
version = "0.0.5"
@@ -5298,25 +5221,6 @@ dependencies = [
]
[[package]]
-<<<<<<< HEAD
-=======
-name = "md-5"
-version = "0.10.6"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "d89e7ee0cfbedfc4da3340218492196241d89eefb6dab27de5df917a6d2e78cf"
-dependencies = [
- "cfg-if",
- "digest",
-]
-
-[[package]]
-name = "md5"
-version = "0.7.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "490cc448043f947bae3cbee9c203358d62dbee0db12107a74be5c30ccfd09771"
-
-[[package]]
->>>>>>> master
name = "memchr"
version = "2.7.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
@@ -6021,7 +5925,7 @@ checksum = "bc838d2a56b5b1a6c25f55575dfc605fabb63bb2365f6c2353ef9159aa69e4a5"
dependencies = [
"cfg-if",
"libc",
- "redox_syscall 0.5.15",
+ "redox_syscall 0.5.17",
"smallvec",
"windows-targets 0.52.6",
]
@@ -6249,17 +6153,16 @@ checksum = "7edddbd0b52d732b21ad9a5fab5c704c14cd949e5e9a1ec5929a24fded1b904c"
[[package]]
name = "polling"
-version = "3.8.0"
+version = "3.9.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "b53a684391ad002dd6a596ceb6c74fd004fdce75f4be2e3f615068abbea5fd50"
+checksum = "8ee9b2fa7a4517d2c91ff5bc6c297a427a96749d15f98fcdbb22c05571a4d4b7"
dependencies = [
"cfg-if",
"concurrent-queue",
"hermit-abi",
"pin-project-lite",
- "rustix 1.0.7",
- "tracing",
- "windows-sys 0.59.0",
+ "rustix 1.0.8",
+ "windows-sys 0.60.2",
]
[[package]]
@@ -6297,9 +6200,9 @@ dependencies = [
[[package]]
name = "postcard"
-version = "1.1.2"
+version = "1.1.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "6c1de96e20f51df24ca73cafcc4690e044854d803259db27a00a461cb3b9d17a"
+checksum = "6764c3b5dd454e283a30e6dfe78e9b31096d9e32036b5d1eaac7a6119ccb9a24"
dependencies = [
"cobs",
"embedded-io 0.4.0",
@@ -6370,9 +6273,9 @@ dependencies = [
[[package]]
name = "prettyplease"
-version = "0.2.35"
+version = "0.2.36"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "061c1221631e079b26479d25bbf2275bfe5917ae8419cd7e34f13bfc2aa7539a"
+checksum = "ff24dfcda44452b9816fff4cd4227e1bb73ff5a2f1bc1105aa92fb8565ce44d2"
dependencies = [
"proc-macro2",
"syn 2.0.104",
@@ -6517,17 +6420,6 @@ dependencies = [
]
[[package]]
-<<<<<<< HEAD
-name = "prost-reflect"
-version = "0.15.3"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "37587d5a8a1b3dc9863403d084fc2254b91ab75a702207098837950767e2260b"
-dependencies = [
- "logos",
- "miette",
- "prost",
- "prost-types",
-=======
name = "prost-derive"
version = "0.14.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
@@ -6550,7 +6442,6 @@ dependencies = [
"miette",
"prost 0.14.1",
"prost-types 0.14.1",
->>>>>>> master
]
[[package]]
@@ -6598,33 +6489,6 @@ dependencies = [
"thiserror 2.0.12",
]
-[[package]]
-name = "protox"
-version = "0.8.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "424c2bd294b69c49b949f3619362bc3c5d28298cd1163b6d1a62df37c16461aa"
-dependencies = [
- "bytes",
- "miette",
- "prost",
- "prost-reflect",
- "prost-types",
- "protox-parse",
- "thiserror 2.0.12",
-]
-
-[[package]]
-name = "protox-parse"
-version = "0.8.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "57927f9dbeeffcce7192404deee6157a640cbb3fe8ac11eabbe571565949ab75"
-dependencies = [
- "logos",
- "miette",
- "prost-types",
- "thiserror 2.0.12",
-]
-
[[package]]
name = "ptr_meta"
version = "0.1.4"
@@ -6860,9 +6724,9 @@ dependencies = [
[[package]]
name = "redox_syscall"
-version = "0.5.15"
+version = "0.5.17"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "7e8af0dde094006011e6a740d4879319439489813bd0bcdc7d821beaeeff48ec"
+checksum = "5407465600fb0548f1442edf71dd20683c6ed326200ace4b1ef0763521bb3b77"
dependencies = [
"bitflags 2.9.1",
]
@@ -6993,12 +6857,14 @@ dependencies = [
"sync_wrapper",
"tokio",
"tokio-rustls",
+ "tokio-util",
"tower 0.5.2",
"tower-http",
"tower-service",
"url",
"wasm-bindgen",
"wasm-bindgen-futures",
+ "wasm-streams",
"web-sys",
"webpki-roots 1.0.2",
]
@@ -7158,29 +7024,6 @@ checksum = "afab94fb28594581f62d981211a9a4d53cc8130bbcbbb89a0440d9b8e81a7746"
[[package]]
name = "rsa"
version = "0.9.8"
-<<<<<<< HEAD
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "78928ac1ed176a5ca1d17e578a1825f3d81ca54cf41053a592584b020cfd691b"
-dependencies = [
- "const-oid",
- "digest",
- "num-bigint-dig",
- "num-integer",
- "num-traits",
- "pkcs1",
- "pkcs8",
- "rand_core 0.6.4",
- "signature",
- "spki",
- "subtle",
- "zeroize",
-]
-
-[[package]]
-name = "rust-ini"
-version = "0.21.1"
-=======
->>>>>>> master
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "78928ac1ed176a5ca1d17e578a1825f3d81ca54cf41053a592584b020cfd691b"
dependencies = [
@@ -7226,9 +7069,9 @@ dependencies = [
[[package]]
name = "rustc-demangle"
-version = "0.1.25"
+version = "0.1.26"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "989e6739f80c4ad5b13e0fd7fe89531180375b18520cc8c82080e4dc4035b84f"
+checksum = "56f7d92ca342cea22a06f2121d944b4fd82af56988c270852495420f961d4ace"
[[package]]
name = "rustc-hash"
@@ -7362,8 +7205,8 @@ dependencies = [
"rustls-webpki",
"security-framework",
"security-framework-sys",
- "webpki-root-certs 1.0.1",
- "windows-sys 0.52.0",
+ "webpki-root-certs 1.0.2",
+ "windows-sys 0.59.0",
]
[[package]]
@@ -7691,12 +7534,8 @@ dependencies = [
"hex",
"indexmap 1.9.3",
"indexmap 2.10.0",
-<<<<<<< HEAD
- "schemars",
-=======
"schemars 0.9.0",
"schemars 1.0.4",
->>>>>>> master
"serde",
"serde_derive",
"serde_json",
@@ -7821,7 +7660,7 @@ dependencies = [
"tokio",
"tokio-rustls",
"tokio-util",
- "toml 0.9.2",
+ "toml 0.9.3",
"tower-http",
"tracing",
"tracing-appender",
@@ -8243,8 +8082,6 @@ dependencies = [
]
[[package]]
-<<<<<<< HEAD
-=======
name = "sse-stream"
version = "0.2.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
@@ -8258,7 +8095,6 @@ dependencies = [
]
[[package]]
->>>>>>> master
name = "stable_deref_trait"
version = "1.2.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
@@ -8289,17 +8125,6 @@ dependencies = [
"unicode-properties",
]
-[[package]]
-name = "stringprep"
-version = "0.1.5"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "7b4df3d392d81bd458a8a621b8bffbd2302a12ffe288a9d931670948749463b1"
-dependencies = [
- "unicode-bidi",
- "unicode-normalization",
- "unicode-properties",
-]
-
[[package]]
name = "strsim"
version = "0.11.1"
@@ -8638,9 +8463,9 @@ checksum = "1f3ccbac311fea05f86f61904b462b55fb3df8837a366dfc601a0161d0532f20"
[[package]]
name = "tokio"
-version = "1.46.1"
+version = "1.47.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "0cc3a2344dafbe23a245241fe8b09735b521110d30fcefbbd5feb1797ca35d17"
+checksum = "43864ed400b6043a4757a25c7a64a8efde741aed79a056a2fb348a406701bb35"
dependencies = [
"backtrace",
"bytes",
@@ -8650,14 +8475,11 @@ dependencies = [
"parking_lot 0.12.4",
"pin-project-lite",
"signal-hook-registry",
-<<<<<<< HEAD
-=======
"slab",
->>>>>>> master
- "socket2 0.5.10",
+ "socket2 0.6.0",
"tokio-macros",
"tracing",
- "windows-sys 0.52.0",
+ "windows-sys 0.59.0",
]
[[package]]
@@ -8720,9 +8542,9 @@ dependencies = [
[[package]]
name = "toml"
-version = "0.9.2"
+version = "0.9.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "ed0aee96c12fa71097902e0bb061a5e1ebd766a6636bb605ba401c45c1650eac"
+checksum = "e06723639aaded957e5a80be250c1f82f274b9d23ebb4d94163668470623461c"
dependencies = [
"indexmap 2.10.0",
"serde",
@@ -8758,11 +8580,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "1b5bb770da30e5cbfde35a2d7b9b8a2c4b8ef89548a7a6aeab5c9a576e3e7421"
dependencies = [
"indexmap 2.10.0",
-<<<<<<< HEAD
- "toml_datetime",
-=======
"toml_datetime 0.6.11",
->>>>>>> master
"winnow 0.5.40",
]
@@ -8821,11 +8639,7 @@ dependencies = [
"hyper-util",
"percent-encoding",
"pin-project",
-<<<<<<< HEAD
- "prost",
-=======
"prost 0.13.5",
->>>>>>> master
"socket2 0.5.10",
"tokio",
"tokio-stream",
@@ -9453,6 +9267,19 @@ dependencies = [
"unicode-ident",
]
+[[package]]
+name = "wasm-streams"
+version = "0.4.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "15053d8d85c7eccdbefef60f06769760a563c7f0a9d6902a13d35c7800b0ad65"
+dependencies = [
+ "futures-util",
+ "js-sys",
+ "wasm-bindgen",
+ "wasm-bindgen-futures",
+ "web-sys",
+]
+
[[package]]
name = "wasm-timer"
version = "0.2.5"
@@ -9543,11 +9370,7 @@ version = "1.6.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "6994d13118ab492c3c80c1f81928718159254c53c472bf9ce36f8dae4add02a7"
dependencies = [
-<<<<<<< HEAD
- "redox_syscall 0.5.13",
-=======
- "redox_syscall 0.5.15",
->>>>>>> master
+ "redox_syscall 0.5.17",
"wasite",
]
@@ -9795,7 +9618,7 @@ version = "0.60.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "f2f500e4d28234f72040990ec9d39e3a6b950f9f22d3dba18416c35882612bcb"
dependencies = [
- "windows-targets 0.53.2",
+ "windows-targets 0.53.3",
]
[[package]]
@@ -9846,10 +9669,11 @@ dependencies = [
[[package]]
name = "windows-targets"
-version = "0.53.2"
+version = "0.53.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "c66f69fcc9ce11da9966ddb31a40968cad001c5bedeb5c2b82ede4253ab48aef"
+checksum = "d5fe6031c4041849d7c496a8ded650796e7b6ecc19df1a431c1a363342e5dc91"
dependencies = [
+ "windows-link",
"windows_aarch64_gnullvm 0.53.0",
"windows_aarch64_msvc 0.53.0",
"windows_i686_gnu 0.53.0",
diff --git a/Cargo.toml b/Cargo.toml
index 38d3a6e0..d0b72c65 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -90,7 +90,6 @@ derive-new = "0.7.0"
dirs = "6.0.0"
dlopen2 = "0.8.0"
dotenvy = "0.15.7"
-dotenvy = "0.15.7"
enum_dispatch = "0.3.13"
figlet-rs = "0.1.5"
flume = "0.11.1"
@@ -122,7 +121,6 @@ simd-json = { version = "0.15.1", features = ["serde_impl"] }
sysinfo = "0.36.1"
tempfile = "3.20.0"
thiserror = "2.0.12"
-tokio = { version = "1.45.1", features = ["full"] }
compio = { git = "https://github.com/compio-rs/compio.git", rev = "fe4243f0b6811ebc325afd081c9b087b4d9817be", features = ["runtime", "macros", "io-uring", "time", "rustls"] }
cyper = { version = "0.4.0", features = ["rustls"], default-features = false}
tokio = { version = "1.46.1", features = ["full"] }
diff --git a/core/sdk/src/client_wrappers/client_wrapper.rs b/core/sdk/src/client_wrappers/client_wrapper.rs
index b791b210..d391bfda 100644
--- a/core/sdk/src/client_wrappers/client_wrapper.rs
+++ b/core/sdk/src/client_wrappers/client_wrapper.rs
@@ -18,7 +18,7 @@
use crate::clients::client::IggyClient;
use crate::http::http_client::HttpClient;
-use crate::quic::quick_client::QuicClient;
+use crate::quic::quic_client::QuicClient;
use crate::tcp::tcp_client::TcpClient;
#[allow(clippy::large_enum_variant)]
diff --git a/core/sdk/src/clients/client.rs b/core/sdk/src/clients/client.rs
index 2f3445d0..6e742919 100644
--- a/core/sdk/src/clients/client.rs
+++ b/core/sdk/src/clients/client.rs
@@ -19,7 +19,6 @@
use crate::clients::client_builder::IggyClientBuilder;
use iggy_common::locking::{IggyRwLock, IggyRwLockFn};
-use crate::client_wrappers::client_wrapper::ClientWrapper;
use crate::client_wrappers::client_wrapper::ClientWrapper;
use crate::http::http_client::HttpClient;
use crate::prelude::EncryptorKind;
@@ -31,7 +30,6 @@ use crate::tcp::tcp_client::TcpClient;
use async_broadcast::Receiver;
use async_trait::async_trait;
use iggy_binary_protocol::{Client, SystemClient};
-use iggy_binary_protocol::{Client, SystemClient};
use iggy_common::{
ConnectionStringUtils, Consumer, DiagnosticEvent, Partitioner, TransportProtocol,
};
@@ -84,15 +82,12 @@ impl IggyClient {
pub fn from_connection_string(connection_string: &str) -> Result<Self, IggyError> {
match ConnectionStringUtils::parse_protocol(connection_string)? {
- TransportProtocol::Tcp => Ok(IggyClient::new(ClientWrapper::Tcp(
TransportProtocol::Tcp => Ok(IggyClient::new(ClientWrapper::Tcp(
TcpClient::from_connection_string(connection_string)?,
))),
- TransportProtocol::Quic => Ok(IggyClient::new(ClientWrapper::Quic(
TransportProtocol::Quic => Ok(IggyClient::new(ClientWrapper::Quic(
QuicClient::from_connection_string(connection_string)?,
))),
- TransportProtocol::Http => Ok(IggyClient::new(ClientWrapper::Http(
TransportProtocol::Http => Ok(IggyClient::new(ClientWrapper::Http(
HttpClient::from_connection_string(connection_string)?,
))),
@@ -101,7 +96,6 @@ impl IggyClient {
/// Creates a new `IggyClient` with the provided client implementation for the specific transport and the optional implementations for the `partitioner` and `encryptor`.
pub fn create(
- client: ClientWrapper,
client: ClientWrapper,
partitioner: Option<Arc<dyn Partitioner>>,
encryptor: Option<Arc<EncryptorKind>>,
diff --git a/core/sdk/src/clients/consumer.rs b/core/sdk/src/clients/consumer.rs
index a0d946b4..88d02580 100644
--- a/core/sdk/src/clients/consumer.rs
+++ b/core/sdk/src/clients/consumer.rs
@@ -16,7 +16,6 @@
* under the License.
*/
-use crate::client_wrappers::client_wrapper::ClientWrapper;
use crate::client_wrappers::client_wrapper::ClientWrapper;
use bytes::Bytes;
use dashmap::DashMap;
diff --git a/core/sdk/src/clients/consumer_builder.rs b/core/sdk/src/clients/consumer_builder.rs
index 97d42cfd..3246b06e 100644
--- a/core/sdk/src/clients/consumer_builder.rs
+++ b/core/sdk/src/clients/consumer_builder.rs
@@ -16,7 +16,6 @@
* under the License.
*/
-use crate::client_wrappers::client_wrapper::ClientWrapper;
use crate::client_wrappers::client_wrapper::ClientWrapper;
use crate::prelude::{AutoCommit, AutoCommitWhen, IggyConsumer};
use iggy_binary_protocol::Client;
diff --git a/core/sdk/src/clients/producer.rs b/core/sdk/src/clients/producer.rs
index b99c35be..6cd7f03a 100644
--- a/core/sdk/src/clients/producer.rs
+++ b/core/sdk/src/clients/producer.rs
@@ -17,7 +17,6 @@
*/
use super::ORDERING;
use crate::client_wrappers::client_wrapper::ClientWrapper;
-use crate::client_wrappers::client_wrapper::ClientWrapper;
use crate::clients::MAX_BATCH_LENGTH;
use crate::clients::producer_builder::SendMode;
use crate::clients::producer_config::DirectConfig;
diff --git a/core/sdk/src/clients/producer_builder.rs b/core/sdk/src/clients/producer_builder.rs
index b7c128d4..576bbe9a 100644
--- a/core/sdk/src/clients/producer_builder.rs
+++ b/core/sdk/src/clients/producer_builder.rs
@@ -15,7 +15,6 @@
// specific language governing permissions and limitations
// under the License.
-use crate::client_wrappers::client_wrapper::ClientWrapper;
use crate::client_wrappers::client_wrapper::ClientWrapper;
use crate::clients::producer_config::{BackgroundConfig, DirectConfig};
use crate::prelude::IggyProducer;
diff --git a/core/server/src/shard/system/topics.rs b/core/server/src/shard/system/topics.rs
index 0b216333..bfe974cf 100644
--- a/core/server/src/shard/system/topics.rs
+++ b/core/server/src/shard/system/topics.rs
@@ -256,7 +256,6 @@ impl IggyShard {
replication_factor: Option<u8>,
) -> Result<(), IggyError> {
self.ensure_authenticated(session)?;
- let topic_numeric_id;
{
let stream = self.get_stream(stream_id).with_error_context(|error| {
format!("{COMPONENT} (error: {error}) - failed to get stream with ID: {stream_id}")
diff --git a/core/server/src/streaming/streams/topics.rs b/core/server/src/streaming/streams/topics.rs
index 4e481dda..89cd7b39 100644
--- a/core/server/src/streaming/streams/topics.rs
+++ b/core/server/src/streaming/streams/topics.rs
@@ -148,10 +148,8 @@ impl Stream {
topic.replication_factor = replication_factor;
}
- {
- self.topics_ids.borrow_mut().remove(&old_topic_name.clone());
- self.topics_ids.borrow_mut().insert(name.to_owned(), topic_id);
- }
+ self.topics_ids.remove(&old_topic_name.clone());
+ self.topics_ids.insert(name.to_owned(), topic_id);
Ok(())
}