refactor: depend on renamed chain-plugin-sdk
Signed-off-by: flemming-it <sf@flemming.it>
This commit is contained in:
parent
2fbed64632
commit
096e746369
3 changed files with 11 additions and 11 deletions
16
Cargo.lock
generated
16
Cargo.lock
generated
|
|
@ -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]]
|
||||
|
|
|
|||
|
|
@ -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"
|
||||
|
|
|
|||
|
|
@ -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 +
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue