feat: simplified lifetime bounds on bulk executor

This commit is contained in:
TotallyNot 2025-04-29 22:46:43 +02:00
parent c17f93f600
commit 7bc61de1c2
Signed by: pyrite
GPG key ID: 7F1BA9170CD35D15
8 changed files with 32 additions and 34 deletions

View file

@ -1,6 +1,6 @@
[package]
name = "torn-key-pool"
version = "1.1.0"
version = "1.1.1"
edition = "2021"
authors = ["Pyrit [2111649]"]
license-file = { workspace = true }
@ -14,7 +14,7 @@ postgres = ["dep:sqlx", "dep:chrono", "dep:indoc"]
tokio-runtime = ["dep:tokio", "dep:rand", "dep:tokio-stream"]
[dependencies]
torn-api = { path = "../torn-api", default-features = false, version = "1.0.1" }
torn-api = { path = "../torn-api", default-features = false, version = "1.1.1" }
thiserror = "2"
sqlx = { version = "0.8", features = [

View file

@ -560,7 +560,7 @@ where
}
}
impl<'p, S> BulkExecutor<'p> for KeyPoolExecutor<'p, S>
impl<S> BulkExecutor for KeyPoolExecutor<'_, S>
where
S: KeyPoolStorage + 'static,
{
@ -631,7 +631,7 @@ where
}
}
impl<'p, S> BulkExecutor<'p> for ThrottledKeyPoolExecutor<'p, S>
impl<S> BulkExecutor for ThrottledKeyPoolExecutor<'_, S>
where
S: KeyPoolStorage + 'static,
{