@spikard/wasm 0.2.5 → 0.3.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-bundler/package.json +1 -1
- package/dist-bundler/spikard_wasm_bg.js +3 -3
- package/dist-bundler/spikard_wasm_bg.wasm +0 -0
- package/dist-bundler/spikard_wasm_bg.wasm.d.ts +1 -1
- package/dist-node/package.json +1 -1
- package/dist-node/spikard_wasm.js +3 -3
- package/dist-node/spikard_wasm_bg.wasm +0 -0
- package/dist-node/spikard_wasm_bg.wasm.d.ts +1 -1
- package/dist-web/package.json +1 -1
- package/dist-web/spikard_wasm.d.ts +1 -1
- package/dist-web/spikard_wasm.js +3 -3
- package/dist-web/spikard_wasm_bg.wasm +0 -0
- package/dist-web/spikard_wasm_bg.wasm.d.ts +1 -1
- package/package.json +68 -68
|
@@ -236,8 +236,8 @@ function __wasm_bindgen_func_elem_562(arg0, arg1, arg2) {
|
|
|
236
236
|
wasm.__wasm_bindgen_func_elem_562(arg0, arg1, addHeapObject(arg2));
|
|
237
237
|
}
|
|
238
238
|
|
|
239
|
-
function
|
|
240
|
-
wasm.
|
|
239
|
+
function __wasm_bindgen_func_elem_4092(arg0, arg1, arg2, arg3) {
|
|
240
|
+
wasm.__wasm_bindgen_func_elem_4092(arg0, arg1, addHeapObject(arg2), addHeapObject(arg3));
|
|
241
241
|
}
|
|
242
242
|
|
|
243
243
|
const TestClientFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
@@ -682,7 +682,7 @@ export function __wbg_new_ff12d2b041fb48f1(arg0, arg1) {
|
|
|
682
682
|
const a = state0.a;
|
|
683
683
|
state0.a = 0;
|
|
684
684
|
try {
|
|
685
|
-
return
|
|
685
|
+
return __wasm_bindgen_func_elem_4092(a, state0.b, arg0, arg1);
|
|
686
686
|
} finally {
|
|
687
687
|
state0.a = a;
|
|
688
688
|
}
|
|
Binary file
|
|
@@ -14,7 +14,7 @@ export const testclient_trace: (a: number, b: number, c: number, d: number) => n
|
|
|
14
14
|
export const init: () => void;
|
|
15
15
|
export const __wasm_bindgen_func_elem_562: (a: number, b: number, c: number) => void;
|
|
16
16
|
export const __wasm_bindgen_func_elem_561: (a: number, b: number) => void;
|
|
17
|
-
export const
|
|
17
|
+
export const __wasm_bindgen_func_elem_4092: (a: number, b: number, c: number, d: number) => void;
|
|
18
18
|
export const __wbindgen_export: (a: number, b: number) => number;
|
|
19
19
|
export const __wbindgen_export2: (a: number, b: number, c: number, d: number) => number;
|
|
20
20
|
export const __wbindgen_export3: (a: number) => void;
|
package/dist-node/package.json
CHANGED
|
@@ -227,8 +227,8 @@ function __wasm_bindgen_func_elem_562(arg0, arg1, arg2) {
|
|
|
227
227
|
wasm.__wasm_bindgen_func_elem_562(arg0, arg1, addHeapObject(arg2));
|
|
228
228
|
}
|
|
229
229
|
|
|
230
|
-
function
|
|
231
|
-
wasm.
|
|
230
|
+
function __wasm_bindgen_func_elem_4092(arg0, arg1, arg2, arg3) {
|
|
231
|
+
wasm.__wasm_bindgen_func_elem_4092(arg0, arg1, addHeapObject(arg2), addHeapObject(arg3));
|
|
232
232
|
}
|
|
233
233
|
|
|
234
234
|
const TestClientFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
@@ -675,7 +675,7 @@ exports.__wbg_new_ff12d2b041fb48f1 = function(arg0, arg1) {
|
|
|
675
675
|
const a = state0.a;
|
|
676
676
|
state0.a = 0;
|
|
677
677
|
try {
|
|
678
|
-
return
|
|
678
|
+
return __wasm_bindgen_func_elem_4092(a, state0.b, arg0, arg1);
|
|
679
679
|
} finally {
|
|
680
680
|
state0.a = a;
|
|
681
681
|
}
|
|
Binary file
|
|
@@ -14,7 +14,7 @@ export const testclient_trace: (a: number, b: number, c: number, d: number) => n
|
|
|
14
14
|
export const init: () => void;
|
|
15
15
|
export const __wasm_bindgen_func_elem_562: (a: number, b: number, c: number) => void;
|
|
16
16
|
export const __wasm_bindgen_func_elem_561: (a: number, b: number) => void;
|
|
17
|
-
export const
|
|
17
|
+
export const __wasm_bindgen_func_elem_4092: (a: number, b: number, c: number, d: number) => void;
|
|
18
18
|
export const __wbindgen_export: (a: number, b: number) => number;
|
|
19
19
|
export const __wbindgen_export2: (a: number, b: number, c: number, d: number) => number;
|
|
20
20
|
export const __wbindgen_export3: (a: number) => void;
|
package/dist-web/package.json
CHANGED
|
@@ -40,7 +40,7 @@ export interface InitOutput {
|
|
|
40
40
|
readonly init: () => void;
|
|
41
41
|
readonly __wasm_bindgen_func_elem_562: (a: number, b: number, c: number) => void;
|
|
42
42
|
readonly __wasm_bindgen_func_elem_561: (a: number, b: number) => void;
|
|
43
|
-
readonly
|
|
43
|
+
readonly __wasm_bindgen_func_elem_4092: (a: number, b: number, c: number, d: number) => void;
|
|
44
44
|
readonly __wbindgen_export: (a: number, b: number) => number;
|
|
45
45
|
readonly __wbindgen_export2: (a: number, b: number, c: number, d: number) => number;
|
|
46
46
|
readonly __wbindgen_export3: (a: number) => void;
|
package/dist-web/spikard_wasm.js
CHANGED
|
@@ -233,8 +233,8 @@ function __wasm_bindgen_func_elem_562(arg0, arg1, arg2) {
|
|
|
233
233
|
wasm.__wasm_bindgen_func_elem_562(arg0, arg1, addHeapObject(arg2));
|
|
234
234
|
}
|
|
235
235
|
|
|
236
|
-
function
|
|
237
|
-
wasm.
|
|
236
|
+
function __wasm_bindgen_func_elem_4092(arg0, arg1, arg2, arg3) {
|
|
237
|
+
wasm.__wasm_bindgen_func_elem_4092(arg0, arg1, addHeapObject(arg2), addHeapObject(arg3));
|
|
238
238
|
}
|
|
239
239
|
|
|
240
240
|
const TestClientFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
@@ -666,7 +666,7 @@ function __wbg_get_imports() {
|
|
|
666
666
|
const a = state0.a;
|
|
667
667
|
state0.a = 0;
|
|
668
668
|
try {
|
|
669
|
-
return
|
|
669
|
+
return __wasm_bindgen_func_elem_4092(a, state0.b, arg0, arg1);
|
|
670
670
|
} finally {
|
|
671
671
|
state0.a = a;
|
|
672
672
|
}
|
|
Binary file
|
|
@@ -14,7 +14,7 @@ export const testclient_trace: (a: number, b: number, c: number, d: number) => n
|
|
|
14
14
|
export const init: () => void;
|
|
15
15
|
export const __wasm_bindgen_func_elem_562: (a: number, b: number, c: number) => void;
|
|
16
16
|
export const __wasm_bindgen_func_elem_561: (a: number, b: number) => void;
|
|
17
|
-
export const
|
|
17
|
+
export const __wasm_bindgen_func_elem_4092: (a: number, b: number, c: number, d: number) => void;
|
|
18
18
|
export const __wbindgen_export: (a: number, b: number) => number;
|
|
19
19
|
export const __wbindgen_export2: (a: number, b: number, c: number, d: number) => number;
|
|
20
20
|
export const __wbindgen_export3: (a: number) => void;
|
package/package.json
CHANGED
|
@@ -1,70 +1,70 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
2
|
+
"name": "@spikard/wasm",
|
|
3
|
+
"version": "0.3.1",
|
|
4
|
+
"description": "WebAssembly bindings for spikard - High-performance HTTP framework",
|
|
5
|
+
"main": "dist-bundler/spikard_wasm.js",
|
|
6
|
+
"types": "dist-bundler/spikard_wasm.d.ts",
|
|
7
|
+
"exports": {
|
|
8
|
+
".": {
|
|
9
|
+
"import": "./dist-bundler/spikard_wasm.js",
|
|
10
|
+
"types": "./dist-bundler/spikard_wasm.d.ts",
|
|
11
|
+
"default": "./dist-bundler/spikard_wasm.js"
|
|
12
|
+
},
|
|
13
|
+
"./dist-node": {
|
|
14
|
+
"import": "./dist-node/spikard_wasm.js",
|
|
15
|
+
"require": "./dist-node/spikard_wasm.js",
|
|
16
|
+
"types": "./dist-node/spikard_wasm.d.ts"
|
|
17
|
+
},
|
|
18
|
+
"./dist-node/*": "./dist-node/*",
|
|
19
|
+
"./dist-web": {
|
|
20
|
+
"import": "./dist-web/spikard_wasm.js",
|
|
21
|
+
"types": "./dist-web/spikard_wasm.d.ts"
|
|
22
|
+
},
|
|
23
|
+
"./dist-web/*": "./dist-web/*"
|
|
24
|
+
},
|
|
25
|
+
"license": "MIT",
|
|
26
|
+
"keywords": [
|
|
27
|
+
"wasm",
|
|
28
|
+
"webassembly",
|
|
29
|
+
"http",
|
|
30
|
+
"framework",
|
|
31
|
+
"rust",
|
|
32
|
+
"performance",
|
|
33
|
+
"web",
|
|
34
|
+
"api"
|
|
35
|
+
],
|
|
36
|
+
"author": {
|
|
37
|
+
"name": "Na'aman Hirschfeld",
|
|
38
|
+
"email": "nhirschfeld@gmail.com"
|
|
39
|
+
},
|
|
40
|
+
"repository": {
|
|
41
|
+
"type": "git",
|
|
42
|
+
"url": "https://github.com/Goldziher/spikard"
|
|
43
|
+
},
|
|
44
|
+
"homepage": "https://github.com/Goldziher/spikard",
|
|
45
|
+
"bugs": {
|
|
46
|
+
"url": "https://github.com/Goldziher/spikard/issues"
|
|
47
|
+
},
|
|
48
|
+
"files": [
|
|
49
|
+
"README.md",
|
|
50
|
+
"dist-bundler",
|
|
51
|
+
"dist-node",
|
|
52
|
+
"dist-web"
|
|
53
|
+
],
|
|
54
|
+
"scripts": {
|
|
55
|
+
"build": "pnpm run build:bundler",
|
|
56
|
+
"build:bundler": "PATH=\"$HOME/.cargo/bin:$PATH\" rustup run stable wasm-pack build --target bundler --out-dir dist-bundler --release",
|
|
57
|
+
"build:web": "PATH=\"$HOME/.cargo/bin:$PATH\" rustup run stable wasm-pack build --target web --out-dir dist-web --release",
|
|
58
|
+
"build:node": "PATH=\"$HOME/.cargo/bin:$PATH\" rustup run stable wasm-pack build --target nodejs --out-dir dist-node --release",
|
|
59
|
+
"build:all": "pnpm run build:bundler && pnpm run build:node && pnpm run build:web",
|
|
60
|
+
"test": "PATH=\"$HOME/.cargo/bin:$PATH\" rustup run stable wasm-pack build --target web && PATH=\"$HOME/.cargo/bin:$PATH\" rustup run stable wasm-pack test --node",
|
|
61
|
+
"clean": "rm -rf dist-bundler dist-node dist-web node_modules"
|
|
62
|
+
},
|
|
63
|
+
"devDependencies": {
|
|
64
|
+
"wasm-pack": "^0.13.1"
|
|
65
|
+
},
|
|
66
|
+
"publishConfig": {
|
|
67
|
+
"registry": "https://registry.npmjs.org/",
|
|
68
|
+
"access": "public"
|
|
69
|
+
}
|
|
70
70
|
}
|