diff --git a/Cargo.lock b/Cargo.lock index 12d3cbd..8c4331a 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -154,16 +154,16 @@ checksum = "d6f6ff9a378485b298a5286656da665ba74413d36db0979633275d2e708145d4" [[package]] name = "runvil-plugin-sdk" -version = "0.6.0" -source = "git+https://github.com/cppalliance/runvil-plugin-api?rev=74f9e08ba9cc524520fb4c90bd8ac372ba7f303f#74f9e08ba9cc524520fb4c90bd8ac372ba7f303f" +version = "0.7.0" +source = "git+https://github.com/cppalliance/runvil-plugin-api?rev=42c109fdc8bffd15ee6b6d7afcc04383aa27373a#42c109fdc8bffd15ee6b6d7afcc04383aa27373a" dependencies = [ "runvil-plugin-sys", ] [[package]] name = "runvil-plugin-sys" -version = "0.6.0" -source = "git+https://github.com/cppalliance/runvil-plugin-api?rev=74f9e08ba9cc524520fb4c90bd8ac372ba7f303f#74f9e08ba9cc524520fb4c90bd8ac372ba7f303f" +version = "0.7.0" +source = "git+https://github.com/cppalliance/runvil-plugin-api?rev=42c109fdc8bffd15ee6b6d7afcc04383aa27373a#42c109fdc8bffd15ee6b6d7afcc04383aa27373a" [[package]] name = "rustix" diff --git a/Cargo.toml b/Cargo.toml index 285f578..a8fe097 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -7,9 +7,9 @@ edition = "2024" license = "BSL-1.0" [workspace.dependencies] -# The Plugin SDK at contract 0.6, pinned to a commit. A Host loads this +# The Plugin SDK at contract 0.7, pinned to a commit. A Host loads this # Plugin only when its Harness speaks the same contract version. -runvil-plugin-sdk = { version = "0.6.0", git = "https://github.com/cppalliance/runvil-plugin-api", rev = "74f9e08ba9cc524520fb4c90bd8ac372ba7f303f" } +runvil-plugin-sdk = { version = "0.7.0", git = "https://github.com/cppalliance/runvil-plugin-api", rev = "42c109fdc8bffd15ee6b6d7afcc04383aa27373a" } # Each tool's definition is embedded JSON, and a call's arguments arrive # as JSON text. serde = { version = "1", features = ["derive"] } diff --git a/README.md b/README.md index 42b31c3..79dca50 100644 --- a/README.md +++ b/README.md @@ -28,7 +28,7 @@ The Plugin inserts one Pack, `runvil/std`, which gives a run the standard file t cargo build -p plugin-std --release ``` -This writes `plugin_std.dll` (Windows), `libplugin_std.so` (Linux), or `libplugin_std.dylib` (macOS) to `target/release`. That one file goes in the Host's Plugin directory. The Plugin speaks contract 0.6, the version that the pin of `runvil-plugin-sdk` in `Cargo.toml` names, and a Host loads it only when its Harness speaks the same version. +This writes `plugin_std.dll` (Windows), `libplugin_std.so` (Linux), or `libplugin_std.dylib` (macOS) to `target/release`. That one file goes in the Host's Plugin directory. The Plugin speaks contract 0.7, the version that the pin of `runvil-plugin-sdk` in `Cargo.toml` names, and a Host loads it only when its Harness speaks the same version. A Host can also link the crate in. It turns the `dll` feature off, so the crate exports no symbol, and passes `runvil_plugin_sdk::entry::` to the Harness's `insert_plugin`.