wasmer 0.5.0 → 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f486455ca8948c8866114de80ba6da215de3ad1836f6f4beb9ef8c29dd2c8895
4
- data.tar.gz: 169a250d73093090cbd99c4c9a4986314c1c4a731e49cb7a72b4573b11699c36
3
+ metadata.gz: a0b5a7f8164754c818f0352ebaa181d70258535ff07994b9e04e6ea9d1076602
4
+ data.tar.gz: df967113956d0ed35d18b2ab71a186580458fe082487aedb3f32945c54e6c7b4
5
5
  SHA512:
6
- metadata.gz: 721f79171057b1c7435313b41502a54d4d38898d5c9f0122ff7aa3b6e488ee44c2147c55e789ecb2a64c194d9b208ffedb19226443a60fd302aa003273b9d911
7
- data.tar.gz: be15988b435f63831919364b61532939a57155014eb777735dbc8c686378d6c200af427383c4e5c24079460aa82440a5e6fe429af09ac6e75c1203663f42a407
6
+ metadata.gz: edaf9d42e9728a8f59ed7ab8b147a1bda48716c18b5dc58ecde96d6dd70a9f740c69a0a52db6432a82b8251228722e9ca4cf5180b24067e695bd811dc16adcb8
7
+ data.tar.gz: 92f0d97641b95be071c2745a78976634c8f847b8564528613fa049b73428ab1f0c00e440a9d58fa6ced1741d95d88a179224021bed2bbe3f7fcb84bcc222e85c
data/.cargo/config CHANGED
@@ -1,4 +1,4 @@
1
- [target.x86_64-apple-darwin]
1
+ [target.'cfg(target_os = "macos")]']
2
2
  rustflags = [
3
3
  "-C", "link-arg=-Wl",
4
4
  "-C", "link-arg=-undefined",
@@ -70,4 +70,4 @@ jobs:
70
70
  shell: bash
71
71
  run: |
72
72
  export PATH="$HOME/.cargo/bin:$PATH"
73
- just test
73
+ just test-all
data/CHANGELOG.md CHANGED
@@ -5,6 +5,7 @@ All notable changes to this project will be documented in this file.
5
5
  ## Table of Contents
6
6
 
7
7
  * [Unreleased](#unreleased)
8
+ * [1.0.0](#100---2021-07-01)
8
9
  * [0.5.0](#050---2021-05-17)
9
10
  * [0.4.0](#040---2020-02-03)
10
11
  * [0.3.0](#030---2019-07-16)
@@ -12,6 +13,22 @@ All notable changes to this project will be documented in this file.
12
13
 
13
14
  ## [Unreleased]
14
15
 
16
+ ## [1.0.0] - 2021-07-01
17
+
18
+ It's basically the 0.5.0 version. The only noticeable change is that
19
+ the Wasmer runtime has been updated to version 2.0.
20
+
21
+ ## Added
22
+
23
+ * All examples are now tested as part of the test suite
24
+ ([#53](https://github.com/wasmerio/wasmer-ruby/pull/53) by [@Hywan])
25
+
26
+ ## Changed
27
+
28
+ * The Ruby embedding has been updated to Wasmer 2.0, which is faster
29
+ in many regards
30
+ ([#57](https://github.com/wasmerio/wasmer-ruby/pull/57) by [@Hywan])
31
+
15
32
  ## [0.5.0] - 2021-05-17
16
33
 
17
34
  This is a full rewrite of the entire project. This version is a
@@ -196,7 +213,8 @@ patches:
196
213
 
197
214
  ## [0.2.0] - 2019-05-01
198
215
 
199
- [Unreleased]: https://github.com/wasmerio/wasmer-ruby/compare/0.5.0...HEAD
216
+ [Unreleased]: https://github.com/wasmerio/wasmer-ruby/compare/1.0.0...HEAD
217
+ [1.0.0]: https://github.com/wasmerio/wasmer-ruby/compare/0.5.0...1.0.0
200
218
  [0.5.0]: https://github.com/wasmerio/wasmer-ruby/compare/0.4.0...0.5.0
201
219
  [0.4.0]: https://github.com/wasmerio/wasmer-ruby/compare/0.3.0...0.4.0
202
220
  [0.3.0]: https://github.com/wasmerio/wasmer-ruby/compare/0.2.0...0.3.0
data/Cargo.lock CHANGED
@@ -4,11 +4,11 @@ version = 3
4
4
 
5
5
  [[package]]
6
6
  name = "addr2line"
7
- version = "0.15.1"
7
+ version = "0.15.2"
8
8
  source = "registry+https://github.com/rust-lang/crates.io-index"
9
- checksum = "03345e98af8f3d786b6d9f656ccfa6ac316d954e92bc4841f0bba20789d5fb5a"
9
+ checksum = "e7a2e47a1fbe209ee101dd6d61285226744c6c8d3c21c8dc878ba6cb9f467f3a"
10
10
  dependencies = [
11
- "gimli 0.24.0",
11
+ "gimli",
12
12
  ]
13
13
 
14
14
  [[package]]
@@ -19,9 +19,9 @@ checksum = "f26201604c87b1e01bd3d98f8d5d9a8fcbb815e8cedb41ffccbeb4bf593a35fe"
19
19
 
20
20
  [[package]]
21
21
  name = "anyhow"
22
- version = "1.0.40"
22
+ version = "1.0.41"
23
23
  source = "registry+https://github.com/rust-lang/crates.io-index"
24
- checksum = "28b2cd92db5cbd74e8e5028f7e27dd7aa3090e89e4f2a197cc7c8dfb69c7063b"
24
+ checksum = "15af2628f6890fe2609a3b91bef4c83450512802e59489f9c1cb1fa5df064a61"
25
25
 
26
26
  [[package]]
27
27
  name = "autocfg"
@@ -31,16 +31,16 @@ checksum = "cdb031dd78e28731d87d56cc8ffef4a8f36ca26c38fe2de700543e627f8a464a"
31
31
 
32
32
  [[package]]
33
33
  name = "backtrace"
34
- version = "0.3.59"
34
+ version = "0.3.60"
35
35
  source = "registry+https://github.com/rust-lang/crates.io-index"
36
- checksum = "4717cfcbfaa661a0fd48f8453951837ae7e8f81e481fbb136e3202d72805a744"
36
+ checksum = "b7815ea54e4d821e791162e078acbebfd6d8c8939cd559c9335dceb1c8ca7282"
37
37
  dependencies = [
38
38
  "addr2line",
39
39
  "cc",
40
40
  "cfg-if 1.0.0",
41
41
  "libc",
42
42
  "miniz_oxide",
43
- "object 0.24.0",
43
+ "object",
44
44
  "rustc-demangle",
45
45
  ]
46
46
 
@@ -67,9 +67,9 @@ checksum = "14c189c53d098945499cdfa7ecc63567cf3886b3332b312a5b4585d8d3a6a610"
67
67
 
68
68
  [[package]]
69
69
  name = "cc"
70
- version = "1.0.67"
70
+ version = "1.0.68"
71
71
  source = "registry+https://github.com/rust-lang/crates.io-index"
72
- checksum = "e3c69b077ad434294d3ce9f1f6143a2a4b89a8a2d54ef813d85003a4fd1137fd"
72
+ checksum = "4a72c244c1ff497a746a7e1fb3d14bd08420ecda70c8f25c7112f2781652d787"
73
73
 
74
74
  [[package]]
75
75
  name = "cfg-if"
@@ -85,37 +85,35 @@ checksum = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd"
85
85
 
86
86
  [[package]]
87
87
  name = "cranelift-bforest"
88
- version = "0.68.0"
88
+ version = "0.74.0"
89
89
  source = "registry+https://github.com/rust-lang/crates.io-index"
90
- checksum = "9221545c0507dc08a62b2d8b5ffe8e17ac580b0a74d1813b496b8d70b070fbd0"
90
+ checksum = "c8ca3560686e7c9c7ed7e0fe77469f2410ba5d7781b1acaa9adc8d8deea28e3e"
91
91
  dependencies = [
92
92
  "cranelift-entity",
93
93
  ]
94
94
 
95
95
  [[package]]
96
96
  name = "cranelift-codegen"
97
- version = "0.68.0"
97
+ version = "0.74.0"
98
98
  source = "registry+https://github.com/rust-lang/crates.io-index"
99
- checksum = "7e9936ea608b6cd176f107037f6adbb4deac933466fc7231154f96598b2d3ab1"
99
+ checksum = "baf9bf1ffffb6ce3d2e5ebc83549bd2436426c99b31cc550d521364cbe35d276"
100
100
  dependencies = [
101
- "byteorder",
102
101
  "cranelift-bforest",
103
102
  "cranelift-codegen-meta",
104
103
  "cranelift-codegen-shared",
105
104
  "cranelift-entity",
106
- "gimli 0.22.0",
105
+ "gimli",
107
106
  "log",
108
107
  "regalloc",
109
108
  "smallvec",
110
109
  "target-lexicon",
111
- "thiserror",
112
110
  ]
113
111
 
114
112
  [[package]]
115
113
  name = "cranelift-codegen-meta"
116
- version = "0.68.0"
114
+ version = "0.74.0"
117
115
  source = "registry+https://github.com/rust-lang/crates.io-index"
118
- checksum = "4ef2b2768568306540f4c8db3acce9105534d34c4a1e440529c1e702d7f8c8d7"
116
+ checksum = "4cc21936a5a6d07e23849ffe83e5c1f6f50305c074f4b2970ca50c13bf55b821"
119
117
  dependencies = [
120
118
  "cranelift-codegen-shared",
121
119
  "cranelift-entity",
@@ -123,24 +121,21 @@ dependencies = [
123
121
 
124
122
  [[package]]
125
123
  name = "cranelift-codegen-shared"
126
- version = "0.68.0"
124
+ version = "0.74.0"
127
125
  source = "registry+https://github.com/rust-lang/crates.io-index"
128
- checksum = "6759012d6d19c4caec95793f052613e9d4113e925e7f14154defbac0f1d4c938"
126
+ checksum = "ca5b6ffaa87560bebe69a5446449da18090b126037920b0c1c6d5945f72faf6b"
129
127
 
130
128
  [[package]]
131
129
  name = "cranelift-entity"
132
- version = "0.68.0"
130
+ version = "0.74.0"
133
131
  source = "registry+https://github.com/rust-lang/crates.io-index"
134
- checksum = "86badbce14e15f52a45b666b38abe47b204969dd7f8fb7488cb55dd46b361fa6"
135
- dependencies = [
136
- "serde",
137
- ]
132
+ checksum = "7d6b4a8bef04f82e4296782646f733c641d09497df2fabf791323fefaa44c64c"
138
133
 
139
134
  [[package]]
140
135
  name = "cranelift-frontend"
141
- version = "0.68.0"
136
+ version = "0.74.0"
142
137
  source = "registry+https://github.com/rust-lang/crates.io-index"
143
- checksum = "b608bb7656c554d0a4cf8f50c7a10b857e80306f6ff829ad6d468a7e2323c8d8"
138
+ checksum = "c31b783b351f966fce33e3c03498cb116d16d97a8f9978164a60920bd0d3a99c"
144
139
  dependencies = [
145
140
  "cranelift-codegen",
146
141
  "log",
@@ -180,9 +175,9 @@ dependencies = [
180
175
 
181
176
  [[package]]
182
177
  name = "crossbeam-epoch"
183
- version = "0.9.4"
178
+ version = "0.9.5"
184
179
  source = "registry+https://github.com/rust-lang/crates.io-index"
185
- checksum = "52fb27eab85b17fbb9f6fd667089e07d6a2eb8743d02639ee7f6a7a7729c9c94"
180
+ checksum = "4ec02e091aa634e2c3ada4a392989e7c3116673ef0ac5b72232439094d73b7fd"
186
181
  dependencies = [
187
182
  "cfg-if 1.0.0",
188
183
  "crossbeam-utils",
@@ -193,11 +188,10 @@ dependencies = [
193
188
 
194
189
  [[package]]
195
190
  name = "crossbeam-utils"
196
- version = "0.8.4"
191
+ version = "0.8.5"
197
192
  source = "registry+https://github.com/rust-lang/crates.io-index"
198
- checksum = "4feb231f0d4d6af81aed15928e58ecf5816aa62a2393e2c82f46973e92a9a278"
193
+ checksum = "d82cfc11ce7f2c3faef78d8a684447b40d503d9681acebed6cb728d45940c4db"
199
194
  dependencies = [
200
- "autocfg",
201
195
  "cfg-if 1.0.0",
202
196
  "lazy_static",
203
197
  ]
@@ -276,9 +270,9 @@ dependencies = [
276
270
 
277
271
  [[package]]
278
272
  name = "erased-serde"
279
- version = "0.3.13"
273
+ version = "0.3.16"
280
274
  source = "registry+https://github.com/rust-lang/crates.io-index"
281
- checksum = "0465971a8cc1fa2455c8465aaa377131e1f1cf4983280f474a13e68793aa770c"
275
+ checksum = "3de9ad4541d99dc22b59134e7ff8dc3d6c988c89ecd7324bf10a8362b07a2afa"
282
276
  dependencies = [
283
277
  "serde",
284
278
  ]
@@ -307,9 +301,9 @@ dependencies = [
307
301
 
308
302
  [[package]]
309
303
  name = "getrandom"
310
- version = "0.2.2"
304
+ version = "0.2.3"
311
305
  source = "registry+https://github.com/rust-lang/crates.io-index"
312
- checksum = "c9495705279e7140bf035dde1f6e750c162df8b625267cd52cc44e0b156732c8"
306
+ checksum = "7fcd999463524c52659517fe2cea98493cfe485d10565e7b0fb07dbba7ad2753"
313
307
  dependencies = [
314
308
  "cfg-if 1.0.0",
315
309
  "libc",
@@ -329,32 +323,26 @@ dependencies = [
329
323
 
330
324
  [[package]]
331
325
  name = "gimli"
332
- version = "0.22.0"
326
+ version = "0.24.0"
333
327
  source = "registry+https://github.com/rust-lang/crates.io-index"
334
- checksum = "aaf91faf136cb47367fa430cd46e37a788775e7fa104f8b4bcb3861dc389b724"
328
+ checksum = "0e4075386626662786ddb0ec9081e7c7eeb1ba31951f447ca780ef9f5d568189"
335
329
  dependencies = [
336
330
  "fallible-iterator",
337
331
  "indexmap",
338
332
  "stable_deref_trait",
339
333
  ]
340
334
 
341
- [[package]]
342
- name = "gimli"
343
- version = "0.24.0"
344
- source = "registry+https://github.com/rust-lang/crates.io-index"
345
- checksum = "0e4075386626662786ddb0ec9081e7c7eeb1ba31951f447ca780ef9f5d568189"
346
-
347
335
  [[package]]
348
336
  name = "hashbrown"
349
- version = "0.9.1"
337
+ version = "0.11.2"
350
338
  source = "registry+https://github.com/rust-lang/crates.io-index"
351
- checksum = "d7afe4a420e3fe79967a00898cc1f4db7c8a49a9333a29f8a4bd76a253d5cd04"
339
+ checksum = "ab5ef0d4909ef3724cc8cce6ccc8572c5c817592e9285f5464f8e86f8bd3726e"
352
340
 
353
341
  [[package]]
354
342
  name = "hermit-abi"
355
- version = "0.1.18"
343
+ version = "0.1.19"
356
344
  source = "registry+https://github.com/rust-lang/crates.io-index"
357
- checksum = "322f4de77956e22ed0e5032c359a0f1273f1f7f0d79bfa3b8ffbc730d7fbcc5c"
345
+ checksum = "62b467343b94ba476dcb2500d242dadbb39557df889310ac77c5d99100aaac33"
358
346
  dependencies = [
359
347
  "libc",
360
348
  ]
@@ -367,9 +355,9 @@ checksum = "b9e0384b61958566e926dc50660321d12159025e767c18e043daf26b70104c39"
367
355
 
368
356
  [[package]]
369
357
  name = "indexmap"
370
- version = "1.6.2"
358
+ version = "1.7.0"
371
359
  source = "registry+https://github.com/rust-lang/crates.io-index"
372
- checksum = "824845a0bf897a9042383849b02c1bc219c2383772efcd5c6f9766fa4b81aef3"
360
+ checksum = "bc633605454125dec4b66843673f01c7df2b89479b32e0ed634e43a91cff62a5"
373
361
  dependencies = [
374
362
  "autocfg",
375
363
  "hashbrown",
@@ -412,15 +400,15 @@ checksum = "3576a87f2ba00f6f106fdfcd16db1d698d648a26ad8e0573cad8537c3c362d2a"
412
400
 
413
401
  [[package]]
414
402
  name = "libc"
415
- version = "0.2.94"
403
+ version = "0.2.97"
416
404
  source = "registry+https://github.com/rust-lang/crates.io-index"
417
- checksum = "18794a8ad5b29321f790b55d93dfba91e125cb1a9edbd4f8e3150acc771c1a5e"
405
+ checksum = "12b8adadd720df158f4d70dfe7ccc6adb0472d7c55ca83445f6a5ab3e36f8fb6"
418
406
 
419
407
  [[package]]
420
408
  name = "libloading"
421
- version = "0.6.7"
409
+ version = "0.7.0"
422
410
  source = "registry+https://github.com/rust-lang/crates.io-index"
423
- checksum = "351a32417a12d5f7e82c368a66781e307834dae04c6ce0cd4456d52989229883"
411
+ checksum = "6f84d96438c15fcd6c3f244c8fce01d1e2b9c6b5623e9c711dc9286d8fc92d6a"
424
412
  dependencies = [
425
413
  "cfg-if 1.0.0",
426
414
  "winapi",
@@ -435,6 +423,27 @@ dependencies = [
435
423
  "cfg-if 1.0.0",
436
424
  ]
437
425
 
426
+ [[package]]
427
+ name = "loupe"
428
+ version = "0.1.3"
429
+ source = "registry+https://github.com/rust-lang/crates.io-index"
430
+ checksum = "9b6a72dfa44fe15b5e76b94307eeb2ff995a8c5b283b55008940c02e0c5b634d"
431
+ dependencies = [
432
+ "indexmap",
433
+ "loupe-derive",
434
+ "rustversion",
435
+ ]
436
+
437
+ [[package]]
438
+ name = "loupe-derive"
439
+ version = "0.1.3"
440
+ source = "registry+https://github.com/rust-lang/crates.io-index"
441
+ checksum = "c0fbfc88337168279f2e9ae06e157cfed4efd3316e14dc96ed074d4f2e6c5952"
442
+ dependencies = [
443
+ "quote",
444
+ "syn",
445
+ ]
446
+
438
447
  [[package]]
439
448
  name = "mach"
440
449
  version = "0.3.2"
@@ -444,20 +453,26 @@ dependencies = [
444
453
  "libc",
445
454
  ]
446
455
 
456
+ [[package]]
457
+ name = "memchr"
458
+ version = "2.4.0"
459
+ source = "registry+https://github.com/rust-lang/crates.io-index"
460
+ checksum = "b16bd47d9e329435e309c58469fe0791c2d0d1ba96ec0954152a5ae2b04387dc"
461
+
447
462
  [[package]]
448
463
  name = "memmap2"
449
- version = "0.2.2"
464
+ version = "0.2.3"
450
465
  source = "registry+https://github.com/rust-lang/crates.io-index"
451
- checksum = "397d1a6d6d0563c0f5462bbdae662cf6c784edf5e828e40c7257f85d82bf56dd"
466
+ checksum = "723e3ebdcdc5c023db1df315364573789f8857c11b631a2fdfad7c00f5c046b4"
452
467
  dependencies = [
453
468
  "libc",
454
469
  ]
455
470
 
456
471
  [[package]]
457
472
  name = "memoffset"
458
- version = "0.6.3"
473
+ version = "0.6.4"
459
474
  source = "registry+https://github.com/rust-lang/crates.io-index"
460
- checksum = "f83fb6581e8ed1f85fd45c116db8405483899489e38406156c25eb743554361d"
475
+ checksum = "59accc507f1338036a0477ef61afdae33cde60840f4dfe481319ce3ad116ddf9"
461
476
  dependencies = [
462
477
  "autocfg",
463
478
  ]
@@ -490,20 +505,15 @@ dependencies = [
490
505
 
491
506
  [[package]]
492
507
  name = "object"
493
- version = "0.22.0"
508
+ version = "0.25.3"
494
509
  source = "registry+https://github.com/rust-lang/crates.io-index"
495
- checksum = "8d3b63360ec3cb337817c2dbd47ab4a0f170d285d8e5a2064600f3def1402397"
510
+ checksum = "a38f2be3697a57b4060074ff41b44c16870d916ad7877c17696e063257482bc7"
496
511
  dependencies = [
497
512
  "crc32fast",
498
513
  "indexmap",
514
+ "memchr",
499
515
  ]
500
516
 
501
- [[package]]
502
- name = "object"
503
- version = "0.24.0"
504
- source = "registry+https://github.com/rust-lang/crates.io-index"
505
- checksum = "1a5b3dd1c072ee7963717671d1ca129f1048fda25edea6b752bfc71ac8854170"
506
-
507
517
  [[package]]
508
518
  name = "paste"
509
519
  version = "1.0.5"
@@ -512,9 +522,9 @@ checksum = "acbf547ad0c65e31259204bd90935776d1c693cec2f4ff7abb7a1bbbd40dfe58"
512
522
 
513
523
  [[package]]
514
524
  name = "pin-project-lite"
515
- version = "0.2.6"
525
+ version = "0.2.7"
516
526
  source = "registry+https://github.com/rust-lang/crates.io-index"
517
- checksum = "dc0e1f259c92177c30a4c9d177246edd0a3568b25756a977d0632cf8fa37e905"
527
+ checksum = "8d31d11c69a6b52a174b42bdc0c30e5e11670f90788b2c471c31c1d17d449443"
518
528
 
519
529
  [[package]]
520
530
  name = "ppv-lite86"
@@ -548,13 +558,33 @@ dependencies = [
548
558
 
549
559
  [[package]]
550
560
  name = "proc-macro2"
551
- version = "1.0.26"
561
+ version = "1.0.27"
552
562
  source = "registry+https://github.com/rust-lang/crates.io-index"
553
- checksum = "a152013215dca273577e18d2bf00fa862b89b24169fb78c4c95aeb07992c9cec"
563
+ checksum = "f0d8caf72986c1a598726adc988bb5984792ef84f5ee5aa50209145ee8077038"
554
564
  dependencies = [
555
565
  "unicode-xid",
556
566
  ]
557
567
 
568
+ [[package]]
569
+ name = "ptr_meta"
570
+ version = "0.1.3"
571
+ source = "registry+https://github.com/rust-lang/crates.io-index"
572
+ checksum = "7424255320182a46c403331afed6f95e0259a7c578f9da54a27e262ef3b60118"
573
+ dependencies = [
574
+ "ptr_meta_derive",
575
+ ]
576
+
577
+ [[package]]
578
+ name = "ptr_meta_derive"
579
+ version = "0.1.2"
580
+ source = "registry+https://github.com/rust-lang/crates.io-index"
581
+ checksum = "53005b9863728f508d3f23ae37e03d60986a01b65f7ae8397dcebaa1d5e54e10"
582
+ dependencies = [
583
+ "proc-macro2",
584
+ "quote",
585
+ "syn",
586
+ ]
587
+
558
588
  [[package]]
559
589
  name = "quote"
560
590
  version = "1.0.9"
@@ -566,9 +596,9 @@ dependencies = [
566
596
 
567
597
  [[package]]
568
598
  name = "rand"
569
- version = "0.8.3"
599
+ version = "0.8.4"
570
600
  source = "registry+https://github.com/rust-lang/crates.io-index"
571
- checksum = "0ef9e7e66b4468674bfcb0c81af8b7fa0bb154fa9f28eb840da5c447baeb8d7e"
601
+ checksum = "2e7573632e6454cf6b99d7aac4ccca54be06da05aca2ef7423d22d27d4d4bcd8"
572
602
  dependencies = [
573
603
  "libc",
574
604
  "rand_chacha",
@@ -578,9 +608,9 @@ dependencies = [
578
608
 
579
609
  [[package]]
580
610
  name = "rand_chacha"
581
- version = "0.3.0"
611
+ version = "0.3.1"
582
612
  source = "registry+https://github.com/rust-lang/crates.io-index"
583
- checksum = "e12735cf05c9e10bf21534da50a147b924d555dc7a547c42e6bb2d5b6017ae0d"
613
+ checksum = "e6c10a63a0fa32252be49d21e7709d4d4baf8d231c2dbce1eaa8141b9b127d88"
584
614
  dependencies = [
585
615
  "ppv-lite86",
586
616
  "rand_core",
@@ -588,27 +618,27 @@ dependencies = [
588
618
 
589
619
  [[package]]
590
620
  name = "rand_core"
591
- version = "0.6.2"
621
+ version = "0.6.3"
592
622
  source = "registry+https://github.com/rust-lang/crates.io-index"
593
- checksum = "34cf66eb183df1c5876e2dcf6b13d57340741e8dc255b48e40a26de954d06ae7"
623
+ checksum = "d34f1408f55294453790c48b2f1ebbb1c5b4b7563eb1f418bcfcfdbb06ebb4e7"
594
624
  dependencies = [
595
625
  "getrandom",
596
626
  ]
597
627
 
598
628
  [[package]]
599
629
  name = "rand_hc"
600
- version = "0.3.0"
630
+ version = "0.3.1"
601
631
  source = "registry+https://github.com/rust-lang/crates.io-index"
602
- checksum = "3190ef7066a446f2e7f42e239d161e905420ccab01eb967c9eb27d21b2322a73"
632
+ checksum = "d51e9f596de227fda2ea6c84607f5558e196eeaf43c986b724ba4fb8fdf497e7"
603
633
  dependencies = [
604
634
  "rand_core",
605
635
  ]
606
636
 
607
637
  [[package]]
608
638
  name = "rayon"
609
- version = "1.5.0"
639
+ version = "1.5.1"
610
640
  source = "registry+https://github.com/rust-lang/crates.io-index"
611
- checksum = "8b0d8e0819fadc20c74ea8373106ead0600e3a67ef1fe8da56e39b9ae7275674"
641
+ checksum = "c06aca804d41dbc8ba42dfd964f0d01334eceb64314b9ecf7c5fad5188a06d90"
612
642
  dependencies = [
613
643
  "autocfg",
614
644
  "crossbeam-deque",
@@ -618,9 +648,9 @@ dependencies = [
618
648
 
619
649
  [[package]]
620
650
  name = "rayon-core"
621
- version = "1.9.0"
651
+ version = "1.9.1"
622
652
  source = "registry+https://github.com/rust-lang/crates.io-index"
623
- checksum = "9ab346ac5921dc62ffa9f89b7a773907511cdfa5490c572ae9be1be33e8afa4a"
653
+ checksum = "d78120e2c850279833f1dd3582f730c4ab53ed95aeaaaa862a2a5c71b1656d8e"
624
654
  dependencies = [
625
655
  "crossbeam-channel",
626
656
  "crossbeam-deque",
@@ -631,9 +661,9 @@ dependencies = [
631
661
 
632
662
  [[package]]
633
663
  name = "redox_syscall"
634
- version = "0.2.8"
664
+ version = "0.2.9"
635
665
  source = "registry+https://github.com/rust-lang/crates.io-index"
636
- checksum = "742739e41cd49414de871ea5e549afb7e2a3ac77b589bcbebe8c82fab37147fc"
666
+ checksum = "5ab49abadf3f9e1c4bc499e8845e152ad87d2ad2d30371841171169e9d75feee"
637
667
  dependencies = [
638
668
  "bitflags",
639
669
  ]
@@ -670,11 +700,34 @@ dependencies = [
670
700
  "winapi",
671
701
  ]
672
702
 
703
+ [[package]]
704
+ name = "rkyv"
705
+ version = "0.6.7"
706
+ source = "registry+https://github.com/rust-lang/crates.io-index"
707
+ checksum = "cb135b3e5e3311f0a254bfb00333f4bac9ef1d89888b84242a89eb8722b09a07"
708
+ dependencies = [
709
+ "memoffset",
710
+ "ptr_meta",
711
+ "rkyv_derive",
712
+ "seahash",
713
+ ]
714
+
715
+ [[package]]
716
+ name = "rkyv_derive"
717
+ version = "0.6.7"
718
+ source = "registry+https://github.com/rust-lang/crates.io-index"
719
+ checksum = "ba8f489f6b6d8551bb15904293c1ad58a6abafa7d8390d15f7ed05a2afcd87d5"
720
+ dependencies = [
721
+ "proc-macro2",
722
+ "quote",
723
+ "syn",
724
+ ]
725
+
673
726
  [[package]]
674
727
  name = "rustc-demangle"
675
- version = "0.1.19"
728
+ version = "0.1.20"
676
729
  source = "registry+https://github.com/rust-lang/crates.io-index"
677
- checksum = "410f7acf3cb3a44527c5d9546bad4bf4e6c460915d5f9f2fc524498bfe8f70ce"
730
+ checksum = "dead70b0b5e03e9c814bcb6b01e03e68f7c57a80aa48c72ec92152ab3e818d49"
678
731
 
679
732
  [[package]]
680
733
  name = "rustc-hash"
@@ -682,6 +735,12 @@ version = "1.1.0"
682
735
  source = "registry+https://github.com/rust-lang/crates.io-index"
683
736
  checksum = "08d43f7aa6b08d49f382cde6a7982047c3426db949b1424bc4b7ec9ae12c6ce2"
684
737
 
738
+ [[package]]
739
+ name = "rustversion"
740
+ version = "1.0.5"
741
+ source = "registry+https://github.com/rust-lang/crates.io-index"
742
+ checksum = "61b3909d758bb75c79f23d4736fac9433868679d3ad2ea7a61e3c25cfda9a088"
743
+
685
744
  [[package]]
686
745
  name = "rutie"
687
746
  version = "0.8.2"
@@ -720,11 +779,17 @@ version = "1.1.0"
720
779
  source = "registry+https://github.com/rust-lang/crates.io-index"
721
780
  checksum = "d29ab0c6d3fc0ee92fe66e2d99f700eab17a8d57d1c1d3b748380fb20baa78cd"
722
781
 
782
+ [[package]]
783
+ name = "seahash"
784
+ version = "4.1.0"
785
+ source = "registry+https://github.com/rust-lang/crates.io-index"
786
+ checksum = "1c107b6f4780854c8b126e228ea8869f4d7b71260f962fefb57b996b8959ba6b"
787
+
723
788
  [[package]]
724
789
  name = "serde"
725
- version = "1.0.125"
790
+ version = "1.0.126"
726
791
  source = "registry+https://github.com/rust-lang/crates.io-index"
727
- checksum = "558dc50e1a5a5fa7112ca2ce4effcb321b0300c0d4ccf0776a9f60cd89031171"
792
+ checksum = "ec7505abeacaec74ae4778d9d9328fe5a5d04253220a85c4ee022239fc996d03"
728
793
  dependencies = [
729
794
  "serde_derive",
730
795
  ]
@@ -740,9 +805,9 @@ dependencies = [
740
805
 
741
806
  [[package]]
742
807
  name = "serde_derive"
743
- version = "1.0.125"
808
+ version = "1.0.126"
744
809
  source = "registry+https://github.com/rust-lang/crates.io-index"
745
- checksum = "b093b7a2bb58203b5da3056c05b4ec1fed827dcfdb37347a8841695263b3d06d"
810
+ checksum = "963a7dbc9895aeac7ac90e74f34a5d5261828f79df35cbed41e10189d3804d43"
746
811
  dependencies = [
747
812
  "proc-macro2",
748
813
  "quote",
@@ -769,9 +834,9 @@ checksum = "73473c0e59e6d5812c5dfe2a064a6444949f089e20eec9a2e5506596494e4623"
769
834
 
770
835
  [[package]]
771
836
  name = "syn"
772
- version = "1.0.72"
837
+ version = "1.0.73"
773
838
  source = "registry+https://github.com/rust-lang/crates.io-index"
774
- checksum = "a1e8cdbefb79a9a5a65e0db8b47b723ee907b7c7f8496c76a1770b5c310bab82"
839
+ checksum = "f71489ff30030d2ae598524f61326b902466f72a0fb1a8564c001cc63425bcc7"
775
840
  dependencies = [
776
841
  "proc-macro2",
777
842
  "quote",
@@ -780,9 +845,9 @@ dependencies = [
780
845
 
781
846
  [[package]]
782
847
  name = "target-lexicon"
783
- version = "0.11.2"
848
+ version = "0.12.0"
784
849
  source = "registry+https://github.com/rust-lang/crates.io-index"
785
- checksum = "422045212ea98508ae3d28025bc5aaa2bd4a9cdaecd442a08da2ee620ee9ea95"
850
+ checksum = "64ae3b39281e4b14b8123bdbaddd472b7dfe215e444181f2f9d2443c2444f834"
786
851
 
787
852
  [[package]]
788
853
  name = "tempfile"
@@ -800,18 +865,18 @@ dependencies = [
800
865
 
801
866
  [[package]]
802
867
  name = "thiserror"
803
- version = "1.0.24"
868
+ version = "1.0.25"
804
869
  source = "registry+https://github.com/rust-lang/crates.io-index"
805
- checksum = "e0f4a65597094d4483ddaed134f409b2cb7c1beccf25201a9f73c719254fa98e"
870
+ checksum = "fa6f76457f59514c7eeb4e59d891395fab0b2fd1d40723ae737d64153392e9c6"
806
871
  dependencies = [
807
872
  "thiserror-impl",
808
873
  ]
809
874
 
810
875
  [[package]]
811
876
  name = "thiserror-impl"
812
- version = "1.0.24"
877
+ version = "1.0.25"
813
878
  source = "registry+https://github.com/rust-lang/crates.io-index"
814
- checksum = "7765189610d8241a44529806d6fd1f2e0a08734313a35d5b3a556f92b381f3c0"
879
+ checksum = "8a36768c0fbf1bb15eca10defa29526bda730a2376c2ab4393ccfa16fb1a318d"
815
880
  dependencies = [
816
881
  "proc-macro2",
817
882
  "quote",
@@ -911,7 +976,7 @@ dependencies = [
911
976
  "rutie",
912
977
  "rutie-derive",
913
978
  "rutie-test",
914
- "wasmer 1.0.2",
979
+ "wasmer 2.0.0",
915
980
  "wasmer-wasi",
916
981
  "wasmprinter",
917
982
  "wat",
@@ -919,12 +984,13 @@ dependencies = [
919
984
 
920
985
  [[package]]
921
986
  name = "wasmer"
922
- version = "1.0.2"
987
+ version = "2.0.0"
923
988
  source = "registry+https://github.com/rust-lang/crates.io-index"
924
- checksum = "a70cfae554988d904d64ca17ab0e7cd652ee5c8a0807094819c1ea93eb9d6866"
989
+ checksum = "7f52e455a01d0fac439cd7a96ba9b519bdc84e923a5b96034054697ebb17cd75"
925
990
  dependencies = [
926
- "cfg-if 0.1.10",
991
+ "cfg-if 1.0.0",
927
992
  "indexmap",
993
+ "loupe",
928
994
  "more-asserts",
929
995
  "target-lexicon",
930
996
  "thiserror",
@@ -932,8 +998,8 @@ dependencies = [
932
998
  "wasmer-compiler-cranelift",
933
999
  "wasmer-derive",
934
1000
  "wasmer-engine",
935
- "wasmer-engine-jit",
936
- "wasmer-engine-native",
1001
+ "wasmer-engine-dylib",
1002
+ "wasmer-engine-universal",
937
1003
  "wasmer-types",
938
1004
  "wasmer-vm",
939
1005
  "wat",
@@ -942,11 +1008,13 @@ dependencies = [
942
1008
 
943
1009
  [[package]]
944
1010
  name = "wasmer-compiler"
945
- version = "1.0.2"
1011
+ version = "2.0.0"
946
1012
  source = "registry+https://github.com/rust-lang/crates.io-index"
947
- checksum = "6b7732a9cab472bd921d5a0c422f45b3d03f62fa2c40a89e0770cef6d47e383e"
1013
+ checksum = "cc86dda6f715f03104800be575a38382b35c3962953af9e9d8722dcf0bd2458f"
948
1014
  dependencies = [
949
1015
  "enumset",
1016
+ "loupe",
1017
+ "rkyv",
950
1018
  "serde",
951
1019
  "serde_bytes",
952
1020
  "smallvec",
@@ -954,21 +1022,22 @@ dependencies = [
954
1022
  "thiserror",
955
1023
  "wasmer-types",
956
1024
  "wasmer-vm",
957
- "wasmparser 0.65.0",
1025
+ "wasmparser 0.78.2",
958
1026
  ]
959
1027
 
960
1028
  [[package]]
961
1029
  name = "wasmer-compiler-cranelift"
962
- version = "1.0.2"
1030
+ version = "2.0.0"
963
1031
  source = "registry+https://github.com/rust-lang/crates.io-index"
964
- checksum = "48cb9395f094e1d81534f4c5e330ed4cdb424e8df870d29ad585620284f5fddb"
1032
+ checksum = "1a570746cbec434179e2d53357973a34dfdb208043104e8fac3b7b0023015cf6"
965
1033
  dependencies = [
966
1034
  "cranelift-codegen",
1035
+ "cranelift-entity",
967
1036
  "cranelift-frontend",
968
- "gimli 0.22.0",
1037
+ "gimli",
1038
+ "loupe",
969
1039
  "more-asserts",
970
1040
  "rayon",
971
- "serde",
972
1041
  "smallvec",
973
1042
  "tracing",
974
1043
  "wasmer-compiler",
@@ -978,9 +1047,9 @@ dependencies = [
978
1047
 
979
1048
  [[package]]
980
1049
  name = "wasmer-derive"
981
- version = "1.0.2"
1050
+ version = "2.0.0"
982
1051
  source = "registry+https://github.com/rust-lang/crates.io-index"
983
- checksum = "d8b86dcd2c3efdb8390728a2b56f762db07789aaa5aa872a9dc776ba3a7912ed"
1052
+ checksum = "1ee7b351bcc1e782997c72dc0b5b328f3ddcad4813b8ce3cac3f25ae5a4ab56b"
984
1053
  dependencies = [
985
1054
  "proc-macro-error",
986
1055
  "proc-macro2",
@@ -990,13 +1059,13 @@ dependencies = [
990
1059
 
991
1060
  [[package]]
992
1061
  name = "wasmer-engine"
993
- version = "1.0.2"
1062
+ version = "2.0.0"
994
1063
  source = "registry+https://github.com/rust-lang/crates.io-index"
995
- checksum = "efe4667d6bd888f26ae8062a63a9379fa697415b4b4e380f33832e8418fd71b5"
1064
+ checksum = "8454ead320a4017ba36ddd9ab4fbf7776fceea6ab0b79b5e53664a1682569fc3"
996
1065
  dependencies = [
997
1066
  "backtrace",
998
- "bincode",
999
1067
  "lazy_static",
1068
+ "loupe",
1000
1069
  "memmap2",
1001
1070
  "more-asserts",
1002
1071
  "rustc-demangle",
@@ -1010,51 +1079,52 @@ dependencies = [
1010
1079
  ]
1011
1080
 
1012
1081
  [[package]]
1013
- name = "wasmer-engine-jit"
1014
- version = "1.0.2"
1082
+ name = "wasmer-engine-dylib"
1083
+ version = "2.0.0"
1015
1084
  source = "registry+https://github.com/rust-lang/crates.io-index"
1016
- checksum = "26770be802888011b4a3072f2a282fc2faa68aa48c71b3db6252a3937a85f3da"
1085
+ checksum = "6aa390d123ebe23d5315c39f6063fcc18319661d03c8000f23d0fe1c011e8135"
1017
1086
  dependencies = [
1018
- "bincode",
1019
- "cfg-if 0.1.10",
1020
- "region",
1087
+ "cfg-if 1.0.0",
1088
+ "leb128",
1089
+ "libloading",
1090
+ "loupe",
1091
+ "rkyv",
1021
1092
  "serde",
1022
- "serde_bytes",
1093
+ "tempfile",
1094
+ "tracing",
1023
1095
  "wasmer-compiler",
1024
1096
  "wasmer-engine",
1097
+ "wasmer-object",
1025
1098
  "wasmer-types",
1026
1099
  "wasmer-vm",
1027
- "winapi",
1100
+ "which",
1028
1101
  ]
1029
1102
 
1030
1103
  [[package]]
1031
- name = "wasmer-engine-native"
1032
- version = "1.0.2"
1104
+ name = "wasmer-engine-universal"
1105
+ version = "2.0.0"
1033
1106
  source = "registry+https://github.com/rust-lang/crates.io-index"
1034
- checksum = "2bb4083a6c69f2cd4b000b82a80717f37c6cc2e536aee3a8ffe9af3edc276a8b"
1107
+ checksum = "0dffe8015f08915eb4939ebc8e521cde8246f272f5197ea60d46214ac5aef285"
1035
1108
  dependencies = [
1036
- "bincode",
1037
- "cfg-if 0.1.10",
1109
+ "cfg-if 1.0.0",
1038
1110
  "leb128",
1039
- "libloading",
1040
- "serde",
1041
- "tempfile",
1042
- "tracing",
1111
+ "loupe",
1112
+ "region",
1113
+ "rkyv",
1043
1114
  "wasmer-compiler",
1044
1115
  "wasmer-engine",
1045
- "wasmer-object",
1046
1116
  "wasmer-types",
1047
1117
  "wasmer-vm",
1048
- "which",
1118
+ "winapi",
1049
1119
  ]
1050
1120
 
1051
1121
  [[package]]
1052
1122
  name = "wasmer-object"
1053
- version = "1.0.2"
1123
+ version = "2.0.0"
1054
1124
  source = "registry+https://github.com/rust-lang/crates.io-index"
1055
- checksum = "abf8e0c12b82ff81ebecd30d7e118be5fec871d6de885a90eeb105df0a769a7b"
1125
+ checksum = "c541c985799fc1444702501c15d41becfb066c92d9673defc1c7417fd8739e15"
1056
1126
  dependencies = [
1057
- "object 0.22.0",
1127
+ "object",
1058
1128
  "thiserror",
1059
1129
  "wasmer-compiler",
1060
1130
  "wasmer-types",
@@ -1062,29 +1132,33 @@ dependencies = [
1062
1132
 
1063
1133
  [[package]]
1064
1134
  name = "wasmer-types"
1065
- version = "1.0.2"
1135
+ version = "2.0.0"
1066
1136
  source = "registry+https://github.com/rust-lang/crates.io-index"
1067
- checksum = "c7f4ac28c2951cd792c18332f03da523ed06b170f5cf6bb5b1bdd7e36c2a8218"
1137
+ checksum = "c91f75d3c31f8b1f8d818ff49624fc974220243cbc07a2252f408192e97c6b51"
1068
1138
  dependencies = [
1069
- "cranelift-entity",
1139
+ "indexmap",
1140
+ "loupe",
1141
+ "rkyv",
1070
1142
  "serde",
1071
1143
  "thiserror",
1072
1144
  ]
1073
1145
 
1074
1146
  [[package]]
1075
1147
  name = "wasmer-vm"
1076
- version = "1.0.2"
1148
+ version = "2.0.0"
1077
1149
  source = "registry+https://github.com/rust-lang/crates.io-index"
1078
- checksum = "a7635ba0b6d2fd325f588d69a950ad9fa04dddbf6ad08b6b2a183146319bf6ae"
1150
+ checksum = "469a12346a4831e7dac639b9646d8c9b24c7d2cf0cf458b77f489edb35060c1f"
1079
1151
  dependencies = [
1080
1152
  "backtrace",
1081
1153
  "cc",
1082
- "cfg-if 0.1.10",
1154
+ "cfg-if 1.0.0",
1083
1155
  "indexmap",
1084
1156
  "libc",
1157
+ "loupe",
1085
1158
  "memoffset",
1086
1159
  "more-asserts",
1087
1160
  "region",
1161
+ "rkyv",
1088
1162
  "serde",
1089
1163
  "thiserror",
1090
1164
  "wasmer-types",
@@ -1093,60 +1167,71 @@ dependencies = [
1093
1167
 
1094
1168
  [[package]]
1095
1169
  name = "wasmer-wasi"
1096
- version = "1.0.2"
1170
+ version = "2.0.0"
1097
1171
  source = "registry+https://github.com/rust-lang/crates.io-index"
1098
- checksum = "aaf3ec2503b6b12034cf066deb923805952f821223b881acb746df83e284c03e"
1172
+ checksum = "0a992dcafd11c584f3b8d84b7b4c6af350b63db03cf4452fc38647e8eab45994"
1099
1173
  dependencies = [
1100
1174
  "bincode",
1101
- "byteorder",
1102
1175
  "generational-arena",
1103
1176
  "getrandom",
1104
1177
  "libc",
1105
1178
  "serde",
1106
1179
  "thiserror",
1107
- "time",
1108
1180
  "tracing",
1109
1181
  "typetag",
1110
- "wasmer 1.0.2",
1182
+ "wasmer 2.0.0",
1183
+ "wasmer-wasi-types",
1111
1184
  "winapi",
1112
1185
  ]
1113
1186
 
1187
+ [[package]]
1188
+ name = "wasmer-wasi-types"
1189
+ version = "2.0.0"
1190
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1191
+ checksum = "55a275df0190f65f9e62f25b6bc8505a55cc643e433c822fb03a5e3e11fe1c29"
1192
+ dependencies = [
1193
+ "byteorder",
1194
+ "serde",
1195
+ "time",
1196
+ "wasmer-types",
1197
+ ]
1198
+
1114
1199
  [[package]]
1115
1200
  name = "wasmparser"
1116
- version = "0.65.0"
1201
+ version = "0.78.2"
1117
1202
  source = "registry+https://github.com/rust-lang/crates.io-index"
1118
- checksum = "87cc2fe6350834b4e528ba0901e7aa405d78b89dc1fa3145359eb4de0e323fcf"
1203
+ checksum = "52144d4c78e5cf8b055ceab8e5fa22814ce4315d6002ad32cfd914f37c12fd65"
1119
1204
 
1120
1205
  [[package]]
1121
1206
  name = "wasmparser"
1122
- version = "0.78.0"
1207
+ version = "0.79.0"
1123
1208
  source = "registry+https://github.com/rust-lang/crates.io-index"
1124
- checksum = "6c7a8b20306d43c09c2c34e0ef68bf2959a11b01a5cae35e4c5dc1e7145547b6"
1209
+ checksum = "5b5894be15a559c85779254700e1d35f02f843b5a69152e5c82c626d9fd66c0e"
1125
1210
 
1126
1211
  [[package]]
1127
1212
  name = "wasmprinter"
1128
- version = "0.2.26"
1213
+ version = "0.2.27"
1129
1214
  source = "registry+https://github.com/rust-lang/crates.io-index"
1130
- checksum = "2ccec894c70710c2e4669320a532cb2b9cfb97adb0429745642f8ce76916ed85"
1215
+ checksum = "fe6f65000c9b653a87ba9b8bebe9230371337db2b7e70db724ee4b79d2b9936f"
1131
1216
  dependencies = [
1132
1217
  "anyhow",
1133
- "wasmparser 0.78.0",
1218
+ "wasmparser 0.79.0",
1134
1219
  ]
1135
1220
 
1136
1221
  [[package]]
1137
1222
  name = "wast"
1138
- version = "35.0.2"
1223
+ version = "36.0.0"
1139
1224
  source = "registry+https://github.com/rust-lang/crates.io-index"
1140
- checksum = "2ef140f1b49946586078353a453a1d28ba90adfc54dde75710bc1931de204d68"
1225
+ checksum = "8b5d7ba374a364571da1cb0a379a3dc302582a2d9937a183bfe35b68ad5bb9c4"
1141
1226
  dependencies = [
1142
1227
  "leb128",
1143
1228
  ]
1144
1229
 
1145
1230
  [[package]]
1146
1231
  name = "wat"
1147
- version = "1.0.37"
1232
+ version = "1.0.38"
1148
1233
  source = "registry+https://github.com/rust-lang/crates.io-index"
1149
- checksum = "8ec280a739b69173e0ffd12c1658507996836ba4e992ed9bc1e5385a0bd72a02"
1234
+ checksum = "16383df7f0e3901484c2dda6294ed6895caa3627ce4f6584141dcf30a33a23e6"
1150
1235
  dependencies = [
1151
1236
  "wast",
1152
1237
  ]
@@ -1,6 +1,6 @@
1
1
  [package]
2
2
  name = "wasmer"
3
- version = "0.5.0"
3
+ version = "1.0.0"
4
4
  authors = ["Wasmer Engineering Team <engineering@wasmer.io>"]
5
5
  edition = "2018"
6
6
  description = "Ruby extension to run WebAssembly binaries"
@@ -15,8 +15,8 @@ name = "wasmer_ruby"
15
15
  crate-type = ["dylib", "rlib"]
16
16
 
17
17
  [dependencies]
18
- wasmer = "1.0"
19
- wasmer-wasi = "1.0"
18
+ wasmer = "2.0"
19
+ wasmer-wasi = "2.0"
20
20
  rutie = "0.8"
21
21
  rutie-derive = { path = "../rutie-derive", version = "0.1.0" }
22
22
  lazy_static = "1.4"
@@ -26,7 +26,7 @@
26
26
  <h3>
27
27
  <a href="https://wasmer.io/">Website</a>
28
28
  <span> • </span>
29
- <a href="https://docs.wasmer.io">Docs</a>
29
+ <a href="https://wasmerio.github.io/wasmer-ruby/wasmer_ruby/index.html">Docs</a>
30
30
  <span> • </span>
31
31
  <a href="https://slack.wasmer.io/">Slack Channel</a>
32
32
  </h3>
@@ -170,11 +170,12 @@ too!
170
170
 
171
171
  ### Testing
172
172
 
173
- Running the `test` recipe will automatically build and run all the
174
- tests. It includes library tests, along with documentation tests.
173
+ Running the `test-all` recipe will automatically build and run all the
174
+ tests. It includes library tests, along with documentation tests and
175
+ the examples:
175
176
 
176
177
  ```sh
177
- $ just test
178
+ $ just test-all
178
179
  ```
179
180
 
180
181
  ### Documentation
@@ -185,6 +185,12 @@ impl MemoryType {
185
185
  }
186
186
  }
187
187
 
188
+ impl From<wasmer::MemoryType> for MemoryType {
189
+ fn from(value: wasmer::MemoryType) -> Self {
190
+ Self::from(&value)
191
+ }
192
+ }
193
+
188
194
  impl From<&wasmer::MemoryType> for MemoryType {
189
195
  fn from(value: &wasmer::MemoryType) -> Self {
190
196
  Self {
data/justfile CHANGED
@@ -4,10 +4,22 @@ build:
4
4
  rake bundle_install
5
5
 
6
6
  # Run all the tests.
7
- test:
7
+ test-all: test-lib test-doc test-example
8
+
9
+ # Run the tests of the library.
10
+ test-lib:
8
11
  rake test
12
+
13
+ # Run the tests of the documentation.
14
+ test-doc:
9
15
  cargo test --manifest-path crates/wasmer/Cargo.toml --doc
10
16
 
17
+ # Run the examples as tests.
18
+ test-example:
19
+ for example in $(ls examples/*.rb); do \
20
+ ruby $example; \
21
+ done
22
+
11
23
  # Build the `.gem` file.
12
24
  gem:
13
25
  rake build
data/wasmer.gemspec CHANGED
@@ -3,7 +3,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
3
3
 
4
4
  Gem::Specification.new do |spec|
5
5
  spec.name = "wasmer"
6
- spec.version = "0.5.0"
6
+ spec.version = "1.0.0"
7
7
  spec.authors = ["Wasmer Engineering Team"]
8
8
  spec.email = ["engineering@wasmer.io"]
9
9
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: wasmer
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.0
4
+ version: 1.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Wasmer Engineering Team
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-05-17 00:00:00.000000000 Z
11
+ date: 2021-07-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler