HarfangLab / endpoint-sec

Rust Bindings for Endpoint Security
https://docs.rs/endpoint-sec/
Apache License 2.0
21 stars 6 forks source link

fix: Extend lifetime for objects that were unnecessarily restrained to that of `&self` #19

Closed poliorcetics closed 11 months ago

poliorcetics commented 11 months ago

A quick fix for objects that were restrained to the lifetime of their event's &self instead of the (wider) lifetime of the whole Message.

I'll publish a new version 0.3.1 just after, since it's not a breaking change I think: lifetimes are wider, nothing that was possible before is impossible now.