File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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
3134The host reads the release matching the user's platform, checks the API
3235version, and installs it into the user's plugins folder.
You can’t perform that action at this time.
0 commit comments