From 096e746369c605693cf9ff0bc173c419fd29d029 Mon Sep 17 00:00:00 2001 From: flemming-it Date: Tue, 16 Jun 2026 11:30:00 +0200 Subject: [PATCH] refactor: depend on renamed chain-plugin-sdk Signed-off-by: flemming-it --- Cargo.lock | 16 ++++++++-------- Cargo.toml | 2 +- src/lib.rs | 4 ++-- 3 files changed, 11 insertions(+), 11 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 198c495..05cd7f9 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -33,18 +33,18 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "9330f8b2ff13f34540b44e946ef35111825727b38d33286ef986142615121801" [[package]] -name = "equivalent" -version = "1.0.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "877a4ace8713b0bcf2a4e7eec82529c029f1d0619886d18145fea96c3ffe5c0f" - -[[package]] -name = "fai-plugin-sdk" +name = "chain-plugin-sdk" version = "0.1.0" dependencies = [ "wit-bindgen", ] +[[package]] +name = "equivalent" +version = "1.0.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "877a4ace8713b0bcf2a4e7eec82529c029f1d0619886d18145fea96c3ffe5c0f" + [[package]] name = "hashbrown" version = "0.14.5" @@ -209,7 +209,7 @@ dependencies = [ name = "studio_theme_solarized" version = "0.1.0" dependencies = [ - "fai-plugin-sdk", + "chain-plugin-sdk", ] [[package]] diff --git a/Cargo.toml b/Cargo.toml index d448afa..866db61 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -25,7 +25,7 @@ crate-type = ["cdylib"] # The SDK lives in fai/fai_plugin_sdk_rust during bootstrap; # in production this will be a git dependency pointing at # https://git.flemming.ai/fai/plugin-sdk-rust. -fai-plugin-sdk = { path = "../../fai_plugin_sdk_rust" } +chain-plugin-sdk = { path = "../../fai_chain_plugin_sdk_rust" } [package.metadata.component] package = "fai:studio-plugin" diff --git a/src/lib.rs b/src/lib.rs index 039fef6..3f629b8 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -5,12 +5,12 @@ //! export. //! //! This is the proof-of-contract plugin for the -//! `fai-plugin-sdk` v0.1 shape: one struct, one +//! `chain-plugin-sdk` v0.1 shape: one struct, one //! `Guest` impl, one `export_plugin!` invocation. #![allow(clippy::result_large_err)] -use fai_plugin_sdk::{bindings, export_plugin}; +use chain_plugin_sdk::{bindings, export_plugin}; // Type aliases against the SDK's bindings so the impl block // reads cleanly. Once the SDK v0.2 ships proper re-exports +