refactor: rename crate fai-plugin-sdk -> chain-plugin-sdk

Product-scoped SDK name (Ch∆In's plugin SDK).

Signed-off-by: flemming-it <sf@flemming.it>
This commit is contained in:
flemming-it 2026-06-16 11:26:38 +02:00
parent 9a3bf55ef6
commit 4cbb99a9a9
2 changed files with 6 additions and 6 deletions

View file

@ -1,4 +1,4 @@
# fai-plugin-sdk # chain-plugin-sdk
# #
# Ergonomic wrapper around the WIT bindings declared in # Ergonomic wrapper around the WIT bindings declared in
# `wit/studio-plugin.wit`. Studio plugins depend on this crate # `wit/studio-plugin.wit`. Studio plugins depend on this crate
@ -12,7 +12,7 @@
# crates per the SDK-family convention in # crates per the SDK-family convention in
# `docs/architecture/sdks.md`: # `docs/architecture/sdks.md`:
# - fai-module-sdk (Rust) — flow modules # - fai-module-sdk (Rust) — flow modules
# - fai-plugin-sdk (Rust) — Studio plugins ← this crate # - chain-plugin-sdk (Rust) — Studio plugins ← this crate
# - fai-client-sdk (Dart) — clients talking to the hub # - fai-client-sdk (Dart) — clients talking to the hub
# Each gets a language-suffix on the dir / repo # Each gets a language-suffix on the dir / repo
# (fai_plugin_sdk_rust / git.flemming.ai/fai/plugin-sdk-rust) # (fai_plugin_sdk_rust / git.flemming.ai/fai/plugin-sdk-rust)
@ -24,7 +24,7 @@
# #
# Use: # Use:
# #
# use fai_plugin_sdk::{export_plugin, bindings}; # use chain_plugin_sdk::{export_plugin, bindings};
# #
# struct MyTheme; # struct MyTheme;
# impl bindings::exports::chain::studio_plugin::theme::Guest for MyTheme { # impl bindings::exports::chain::studio_plugin::theme::Guest for MyTheme {
@ -34,7 +34,7 @@
# export_plugin!(MyTheme); # export_plugin!(MyTheme);
[package] [package]
name = "fai-plugin-sdk" name = "chain-plugin-sdk"
version = "0.1.0" version = "0.1.0"
# edition 2021 for now — wit-bindgen 0.36 emits the older # edition 2021 for now — wit-bindgen 0.36 emits the older
# `#[link_section]` / `unsafe`-attribute syntax that the # `#[link_section]` / `unsafe`-attribute syntax that the

View file

@ -1,4 +1,4 @@
//! `fai-plugin-sdk` — ergonomic wrapper around the //! `chain-plugin-sdk` — ergonomic wrapper around the
//! Studio-plugin WIT contract. //! Studio-plugin WIT contract.
//! //!
//! Studio plugins are WASM components targeting the //! Studio plugins are WASM components targeting the
@ -75,7 +75,7 @@ pub mod bindings {
/// `Guest` traits. /// `Guest` traits.
/// ///
/// ```ignore /// ```ignore
/// use fai_plugin_sdk::{export_plugin, bindings}; /// use chain_plugin_sdk::{export_plugin, bindings};
/// ///
/// struct MyTheme; /// struct MyTheme;
/// impl bindings::exports::chain::studio_plugin::theme::Guest for MyTheme { /// impl bindings::exports::chain::studio_plugin::theme::Guest for MyTheme {