How to create plugin for Apollo server in Rust without async functoins and Rhai

Hello dear forum users. I need to create a plugin for my Apollo graphql server. This plugin will be compiled to a wasm file later, so I can’t use async functions and Rhai. Only Rust. How can I do it? And is it possible? Help me please.

Any reading/tutorial/example is appreciated.