File tree Expand file tree Collapse file tree 3 files changed +22
-2
lines changed
Expand file tree Collapse file tree 3 files changed +22
-2
lines changed Original file line number Diff line number Diff line change @@ -12,6 +12,7 @@ wasmtime::component::bindgen!({
1212 include fermyon:spin/platform@3.0.0;
1313 include spin:up/platform@3.2.0;
1414 include spin:up/platform@3.4.0;
15+ include spin:up/platform@3.5.0;
1516 include wasi:keyvalue/imports@0.2.0-draft2;
1617 }
1718 "# ,
Original file line number Diff line number Diff line change 1+ package spin : up @ 3.4.0;
2+
3+ /// The full world of a guest targeting an http-trigger
4+ world http-trigger {
5+ include platform ;
6+ export wasi :http /incoming-handler @ 0.2.0 ;
7+ }
8+
9+ /// The imports needed for a guest to run on a Spin host
10+ world platform {
11+ include fermyon :spin /platform @ 2.0.0 ;
12+ include wasi :keyvalue /imports @ 0.2.0-draft2 ;
13+ import spin :postgres /postgres @ 3.0.0 ;
14+ import spin :postgres /postgres @ 4.0.0 ;
15+ import spin :sqlite /sqlite @ 3.0.0 ;
16+ import wasi :config /store @ 0.2.0-draft-2024-09-27 ;
17+ }
Original file line number Diff line number Diff line change 1- package spin : up @ 3.4 .0;
1+ package spin : up @ 3.5 .0;
22
33/// The full world of a guest targeting an http-trigger
44world http-trigger {
55 include platform ;
6- export wasi :http /incoming- handler@ 0.2.0 ;
6+ export wasi :http /handler @ 0.3.0-rc-2025-09-16 ;
77}
88
99/// The imports needed for a guest to run on a Spin host
1010world platform {
11+ include wasi :cli /imports @ 0.3.0-rc-2025-09-16 ;
12+ import wasi :http /handler @ 0.3.0-rc-2025-09-16 ;
1113 include fermyon :spin /platform @ 2.0.0 ;
1214 include wasi :keyvalue /imports @ 0.2.0-draft2 ;
1315 import spin :postgres /postgres @ 3.0.0 ;
You can’t perform that action at this time.
0 commit comments