escouade-plugin-protocol 0.1.0

The JSON-RPC protocol of Escouade's plugins: its constants, its messages and the loop of a plugin, in process or as a WASM module
Documentation
[package]
name = "escouade-plugin-protocol"
version = "0.1.0"
description = "The JSON-RPC protocol of Escouade's plugins: its constants, its messages and the loop of a plugin, in process or as a WASM module"
authors = ["Guillaume Gagnaire"]
license = "MIT"
repository = "https://github.com/guillaume-gagnaire/escouade"
homepage = "https://escouade.dev"
documentation = "https://docs.rs/escouade-plugin-protocol"
readme = "README.md"
keywords = ["escouade","plugin","json-rpc","wasm","protocol"]
categories = ["development-tools","wasm"]
include = ["src/**/*.rs", "Cargo.toml", "README.md", "LICENSE"]
edition = "2021"
rust-version = "1.88"
workspace = "../../src-tauri"

# Shared by the core (the app speaks this protocol to every plugin) and by `escouade-plugins`, the program of the
# plugins the app gives (docs/PLUGINS.md ยง4.3). Light on purpose: that program is one more binary beside the app.
[dependencies]
serde = { version = "1", features = ["derive"] }
serde_json = "1"

# docs.rs builds the two targets a plugin compiles for.
[package.metadata.docs.rs]
default-target = "x86_64-unknown-linux-gnu"
targets = ["x86_64-unknown-linux-gnu", "wasm32-wasip1"]