Skip to content

Commit 3908a70

Browse files
committed
chore: update templates to import from specific crates rather than client
1 parent 8d6d34f commit 3908a70

3 files changed

Lines changed: 7 additions & 13 deletions

File tree

packages/schema/bind/src/bindings/rust/plugin/templates/module-rs.mustache

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,8 @@
22
/// All modifications will be overwritten.
33

44
use std::sync::Arc;
5-
use polywrap_client::{
6-
core::invoke::Invoker,
7-
plugin::{error::PluginError, module::PluginModule},
8-
};
5+
use polywrap_core::invoke::Invoker;
6+
use polywrap_plugin::{error::PluginError, module::PluginModule};
97
use serde::{Serialize, Deserialize};
108
use super::types::*;
119

packages/schema/bind/src/bindings/rust/plugin/templates/types-rs.mustache

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,9 @@
33

44
// NOTE: This is an auto-generated file.
55
// All modifications will be overwritten.
6-
use polywrap_client::{
7-
core::{invoke::Invoker, uri::Uri},
8-
msgpack::{decode, serialize},
9-
plugin::{error::PluginError, BigInt, BigNumber, Map, JSON},
10-
};
6+
use polywrap_core::{invoke::Invoker, uri::Uri};
7+
use polywrap_msgpack::{decode, serialize};
8+
use polywrap_plugin::{error::PluginError, BigInt, BigNumber, Map, JSON};
119
use serde::{Serialize, Deserialize};
1210
{{#importedModuleTypes}}
1311
use std::sync::Arc;

packages/schema/bind/src/bindings/rust/plugin/templates/wrap.info-rs.mustache

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
11
/// NOTE: This is an auto-generated file.
22
/// All modifications will be overwritten.
3-
use polywrap_client::{
4-
plugin::JSON::{from_value, json},
5-
wrap_manifest::versions::{WrapManifest, WrapManifestAbi},
6-
};
3+
use polywrap_plugin::JSON::{from_value, json};
4+
use wrap_manifest_schemas::versions::{WrapManifest, WrapManifestAbi};
75

86
{{#manifest}}
97
pub fn get_manifest() -> WrapManifest {

0 commit comments

Comments
 (0)