Skip to content

Commit fdfe242

Browse files
HakanSeven12claude
andcommitted
docs(plugins): point to the example plugin repo and the API 4+ fingerprint
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
1 parent 3754426 commit fdfe242

1 file changed

Lines changed: 6 additions & 3 deletions

File tree

‎plugins/README.md‎

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,13 @@ Requirements for the linked repo:
2323
- Builds a `cdylib` against [`ocs_plugin_api`](../crates/ocs_plugin_api) and
2424
exports the host symbols via `ocs_plugin_api::export_plugin!`.
2525
- Publishes per-platform binaries plus `plugin.toml` as **GitHub Release**
26-
assets (see `crates/ocs_example_plugin` and its release workflow for a
27-
template). Asset names carry the platform, e.g.
26+
assets (see [opencad-example-plugin](https://github.com/HakanSeven12/opencad-example-plugin)
27+
and its release workflow for a template). Asset names carry the platform, e.g.
2828
`your.plugin-linux-x86_64.so`, `…-windows-x86_64.dll`, `…-macos-aarch64.dylib`.
29-
- `plugin.toml` declares an `api_version` compatible with the host.
29+
- `plugin.toml` declares an `api_version` compatible with the host (3 or
30+
newer). From API 4 on it must also carry the `rustc_version` and
31+
`acadrust_source` the library was built with; the host loads it only when
32+
both match its own build.
3033

3134
The host reads the release matching the user's platform, checks the API
3235
version, and installs it into the user's plugins folder.

0 commit comments

Comments
 (0)