Commit Graph

3 Commits

Author SHA1 Message Date
Kirottu
8e5bff9e91 Switched to using proc macros for the anyrun_plugin crate
This allows for plugins to decide on whether or not a mutable borrow or
a normal borrow is needed of the shared data. It can also now be omitted
alltogether.
2023-05-01 11:15:02 +03:00
Kirottu
beaf2549ac Added dictionary plugin and switched from a Mutex to an RwLock in the anyrun_plugin crate
This change means that `get_matches` no longer has access to a mutable version of the
state of the plugin. A redesign is needed to allow for this if needed.
2023-04-29 18:18:47 +03:00
Kirottu
b2f3e67cb4 Stdin plugin 2023-04-27 16:22:18 +03:00