diff --git a/Cargo.toml b/Cargo.toml index 9d0f47e..1583649 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,4 +1,4 @@ -# fai-plugin-sdk +# chain-plugin-sdk # # Ergonomic wrapper around the WIT bindings declared in # `wit/studio-plugin.wit`. Studio plugins depend on this crate @@ -12,7 +12,7 @@ # crates per the SDK-family convention in # `docs/architecture/sdks.md`: # - 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 # Each gets a language-suffix on the dir / repo # (fai_plugin_sdk_rust / git.flemming.ai/fai/plugin-sdk-rust) @@ -24,7 +24,7 @@ # # Use: # -# use fai_plugin_sdk::{export_plugin, bindings}; +# use chain_plugin_sdk::{export_plugin, bindings}; # # struct MyTheme; # impl bindings::exports::chain::studio_plugin::theme::Guest for MyTheme { @@ -34,7 +34,7 @@ # export_plugin!(MyTheme); [package] -name = "fai-plugin-sdk" +name = "chain-plugin-sdk" version = "0.1.0" # edition 2021 for now — wit-bindgen 0.36 emits the older # `#[link_section]` / `unsafe`-attribute syntax that the diff --git a/src/lib.rs b/src/lib.rs index 89f0638..4601ad0 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -1,4 +1,4 @@ -//! `fai-plugin-sdk` — ergonomic wrapper around the +//! `chain-plugin-sdk` — ergonomic wrapper around the //! Studio-plugin WIT contract. //! //! Studio plugins are WASM components targeting the @@ -75,7 +75,7 @@ pub mod bindings { /// `Guest` traits. /// /// ```ignore -/// use fai_plugin_sdk::{export_plugin, bindings}; +/// use chain_plugin_sdk::{export_plugin, bindings}; /// /// struct MyTheme; /// impl bindings::exports::chain::studio_plugin::theme::Guest for MyTheme {