-
Notifications
You must be signed in to change notification settings - Fork 52
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: add rust app codegen template #1864
Conversation
e25d838
to
14d4ce2
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
"ipfs:down": "npx polywrap infra down --modules=eth-ens-ipfs" | ||
}, | ||
"dependencies": { | ||
"@polywrap/client-js": "~0.12.0" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this is not needed right
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we can also remove this one right
}, | ||
"devDependencies": { | ||
"@types/node": "18.15.0", | ||
"polywrap": "0.11.2", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we can only keep polywrap
?
packages/templates/app/rust/.nvmrc
Outdated
@@ -0,0 +1 @@ | |||
v17.9.1 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should be v18.15.0 like all other .nvmrc files in the CLI repo
@@ -0,0 +1,17 @@ | |||
[package] | |||
name = "template_plugin_rs" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should be "template_app_rs"
@@ -0,0 +1,21 @@ | |||
{ | |||
"name": "templates-app-rust", | |||
"description": "Polywrap App Rust Template", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No need for name, description, version
"scripts": { | ||
"build": "npx polywrap codegen", | ||
"test": "ts-node ./src/index.ts", | ||
"ipfs:up": "npx polywrap infra up --modules=eth-ens-ipfs", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this isn't needed
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Forget to remove! before I was using local ipfs in template but then migrate to just cat instead of add and cat
"version": "0.11.2", | ||
"scripts": { | ||
"build": "npx polywrap codegen", | ||
"test": "ts-node ./src/index.ts", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this doesn't work
@@ -0,0 +1,30 @@ | |||
{ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this file isn't needed
No description provided.