yara-x icon indicating copy to clipboard operation
yara-x copied to clipboard

Rc<yara_x::types::map::Map>` cannot be sent between threads safely

Open xvsfekcn opened this issue 1 year ago • 3 comments

Here’s the translation of your text into English:

"I want to use Tokio and yara-x together to build a web server that provides malware scanning capabilities. How should I implement this? Are there any examples I can refer to? After using Box to work around the lifetime issues, I encountered the error: Rc<yara_x::types::map::Map> cannot be sent between threads safely."

If you need further assistance or examples on how to implement this, feel free to ask! Some error: Rc<yara_x::types::array::Array> cannot be sent between threads safely, Rc<yara_x::types::structure::Struct> cannot be sent between threads safely

xvsfekcn avatar Aug 06 '24 09:08 xvsfekcn