easy to use Plugin API in rust?

This page summarizes the projects mentioned and recommended in the original post on /r/rust

Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
  • locenv

    An alternative to Docker Compose but faster and use less resources

  • It is depend on what you are trying to do. If the plugin don't need a direct access to the OS by themself WebAssembly might be a good choice. Currently I'm working on https://github.com/locenv/locenv but my project required a scripting, not the compiled code; and it also required the plugin to be able to direct access to the OS so I choose Lua as a scripting language and the plugin can be written in any languages that can output a shared library.

  • Rhai

    Rhai - An embedded scripting language for Rust.

  • I came across this library lately which might be close to what you’re looking for: https://github.com/rhaiscript/rhai

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
  • botnet

    Multiplayer programming game using Rust and WebAssembly

  • The boilerplate sucks, but it works well when you don't need a ton of different functions. I use wasm as a scripting language for running isolated untrusted scripts in a game I'm developing, and it works really well https://github.com/JMS55/botnet.

  • proposals

    Tracking WebAssembly proposals (by WebAssembly)

  • The component model combines aspects of Interface types as well as Module Linking: https://github.com/WebAssembly/proposals/blob/main/inactive-proposals.md

  • Cap'n Proto

    Cap'n Proto serialization/RPC system - core tools and C++ library

  • Cap'n Proto seems really promising, although I haven't played a lot with it yet. I really like it so far though: https://capnproto.org/

  • fp-bindgen

    Bindings generator for full-stack WASM plugins

  • Checkout https://github.com/fiberplane/fp-bindgen

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts