refactor: depend on renamed chain-plugin-sdk

Signed-off-by: flemming-it <sf@flemming.it>
This commit is contained in:
flemming-it 2026-06-16 11:31:00 +02:00
parent 208b8c65ca
commit 458f1711bd
3 changed files with 10 additions and 10 deletions

16
Cargo.lock generated
View file

@ -39,18 +39,18 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "9330f8b2ff13f34540b44e946ef35111825727b38d33286ef986142615121801" checksum = "9330f8b2ff13f34540b44e946ef35111825727b38d33286ef986142615121801"
[[package]] [[package]]
name = "equivalent" name = "chain-plugin-sdk"
version = "1.0.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "877a4ace8713b0bcf2a4e7eec82529c029f1d0619886d18145fea96c3ffe5c0f"
[[package]]
name = "fai-plugin-sdk"
version = "0.1.0" version = "0.1.0"
dependencies = [ dependencies = [
"wit-bindgen 0.36.0", "wit-bindgen 0.36.0",
] ]
[[package]]
name = "equivalent"
version = "1.0.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "877a4ace8713b0bcf2a4e7eec82529c029f1d0619886d18145fea96c3ffe5c0f"
[[package]] [[package]]
name = "form_urlencoded" name = "form_urlencoded"
version = "1.2.2" version = "1.2.2"
@ -241,7 +241,7 @@ dependencies = [
name = "studio_translate_ollama" name = "studio_translate_ollama"
version = "0.1.0" version = "0.1.0"
dependencies = [ dependencies = [
"fai-plugin-sdk", "chain-plugin-sdk",
"serde", "serde",
"serde_json", "serde_json",
"waki", "waki",

View file

@ -13,7 +13,7 @@ rust-version = "1.85"
crate-type = ["cdylib"] crate-type = ["cdylib"]
[dependencies] [dependencies]
fai-plugin-sdk = { path = "../../fai_plugin_sdk_rust" } chain-plugin-sdk = { path = "../../fai_chain_plugin_sdk_rust" }
serde = { version = "1", features = ["derive"] } serde = { version = "1", features = ["derive"] }
serde_json = "1" serde_json = "1"

View file

@ -17,7 +17,7 @@
#![allow(clippy::result_large_err)] #![allow(clippy::result_large_err)]
use fai_plugin_sdk::{bindings, export_plugin}; use chain_plugin_sdk::{bindings, export_plugin};
type ColorScheme = bindings::chain::studio_plugin::plugin_types::ColorScheme; type ColorScheme = bindings::chain::studio_plugin::plugin_types::ColorScheme;
type PluginError = bindings::chain::studio_plugin::plugin_types::PluginError; type PluginError = bindings::chain::studio_plugin::plugin_types::PluginError;