Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ moka = { version = "0.12.8", optional = true, features = ["future"] }
urlencoding = "2.1.3"
derive_more = { version = "2.0.1", features = ["full"] }
serde_with = { version = "3.11.0" }
warframe-macros = { path = "warframe-macros" , version = "7.0.0" }
warframe-macros = { path = "warframe-macros", version = "7.0.0" }
paste = "1.0.15"
tracing = "0.1.41"
governor = { version = "0.10.0", optional = true }
Expand Down
4 changes: 2 additions & 2 deletions src/worldstate/client.rs
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,7 @@ impl Client {
pub async fn call_on_update<T, Callback>(&self, callback: Callback) -> Result<(), Error>
where
T: TimedEvent + Queryable<Return = T>,
for<'any> Callback: AsyncFn(&'any T, &'any T),
for<'a, 'b> Callback: AsyncFn(&'a T, &'b T),
{
tracing::debug!("{} (LISTENER) :: Started", std::any::type_name::<T>());
let mut item = self.fetch::<T>().await?;
Expand Down Expand Up @@ -447,7 +447,7 @@ impl Client {
where
S: Sized + Send + Sync + Clone,
T: TimedEvent + Queryable<Return = T>,
for<'any> Callback: AsyncFn(S, &'any T, &'any T),
for<'a, 'b> Callback: AsyncFn(S, &'a T, &'b T),
{
let mut item = self.fetch::<T>().await?;

Expand Down
2 changes: 1 addition & 1 deletion warframe-macros/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "warframe-macros"
version = "6.2.0"
version = "7.0.0"
edition = "2024"
description = "Macros for the `warframe` crate."
readme = "../README.md"
Expand Down