From 8bdc8b57c4a4fc8d6d5c6116f13195e68100676c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20Wo=C5=BAniak?= Date: Wed, 21 Aug 2024 16:01:42 +0200 Subject: [PATCH] fix: Allow deprecated InterfaceApi in generated code --- sylvia-derive/src/interface/communication/api.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/sylvia-derive/src/interface/communication/api.rs b/sylvia-derive/src/interface/communication/api.rs index 5247a683..1288c9b5 100644 --- a/sylvia-derive/src/interface/communication/api.rs +++ b/sylvia-derive/src/interface/communication/api.rs @@ -103,6 +103,7 @@ impl<'a> Api<'a> { #phantom } + #[allow(deprecated)] impl < #(#generics,)* > #sylvia ::types::InterfaceApi for Api < #(#generics,)* > #where_clause { type Exec = ExecMsg < #(#exec_generics,)* >; type Query = QueryMsg < #(#query_generics,)* >;