47 Commits

Author SHA1 Message Date
Valery Antopol
b20a27f8b6
feat: support marine-rs-sdk 0.14 (#419)
* uodate sdk

* add cp v3 test
2024-02-21 16:59:49 +04:00
Valery Antopol
220c028045
feat!: support particle parameters in CallParameters (__marine_host_api_v2) (#417)
* support call_parameters v2

* fmt

* fix warnings; require exact version for sdk v0 and v1

* support json_path

* update lockfile

* bump sdk versions and fix mrepl

* fix call_parameters example

* fix marine-js

* fmt
2024-02-20 16:06:44 +04:00
Valery Antopol
c948b8b866
feat(ABI)!: support marine-rs-sdk host api versions, support worker_id in CallParamaters (#409)
* use marine-rs-sdk with worker_id in CallParameters

* add example

* fix tests

* update sdk version

* add v0/v1 imports

* fix bugs

* update examples

* use git dependency

* fix effects extractor

* fix marine-js build

* fix marine-js tests

* fix style

* make clippy happy

* update marine-rs-sdk

* add version type

* put v1 call_parameters import into right place
2024-02-08 17:40:57 +04:00
Valery Antopol
662a49204f
feat!: add memory limiting (#391)
* memory limits iteration 1

* correct counting

* update to wasmtime 13.0.0

* wip stats recording

* adding memory limit tests

* fix build

* fix build

* fix build

* fix tests

* add configs

* update Cargo.lock

* self-review fixes

* self-review fixes, cleanup

* fix tests build

* fix tests, remove wee_alloc form lockfile

* fix build

* format tests

* pr fixes

* make tests more robust

* pr fixes

* Add OOM check into marine-runtime

* Use new error variant in tests

* add handy error message

* fix error msg

* fix tests

* check for OOM more precisely

* improve readability

* add "inifinity" memory limit, make memory limit mandatory, stop persisting allocation rejects

* add forgotten allocation stats clear

* pr fixes

* pr fixes

* use bytesize in tests
2023-12-13 19:51:58 +03:00
Valery Antopol
036c3348e3
feat(deps)!: update marine-rs-sdk-to 0.10.0 (#364)
* feat!: update marine-rs-sdk-to 0.9.0

* bump versions manually

* update lockfile

* update rust toolchain, so wasm-pack can be installed

* use marine-rs-sdk from git

* update Cargo.lock

* update sqlite-wasm-connector

* use marine-rs-sdk 0.10.0

* update marine version in examples

* update Cargo.lock

* fmt
2023-09-13 19:14:24 +03:00
Valery Antopol
62802fa3d9
chore: remove marine-rs-sdk-test from examples, move it to test-sdk repo (#363)
chore: remove marine-rs-sdk-test usages
2023-08-16 20:57:11 +03:00
Valery Antopol
e7861f5613 feat(deps)!: update marine-rs-sdk 2023-08-09 15:46:46 +03:00
Valery Antopol
d3a773df4f
feat!: decouple wasmer from Marine, replace it with generic backend interface (#219) 2023-03-15 00:43:51 +03:00
Valery Antopol
d9c8de35aa
Support marine-rs-sdk 0.7.0 (#180) 2022-07-27 18:01:30 +03:00
Mike Voronov
cc1766b7f1
fix tests after renaming (#174) 2022-06-09 17:00:19 +03:00
Mike Voronov
c7c8d611d9
Allow runtime to set maximum memory count (#127) 2021-12-03 20:33:46 +03:00
Mike Voronov
db84af1c1f
Bump crate versions (#129) 2021-10-05 18:20:41 +03:00
Mike Voronov
4072de7b60
Fix clippy warnings (#126) 2021-09-29 12:58:10 +03:00
Mike Voronov
fb67fc0c91
Update sdk to marine-rs-sdk (#93) 2021-06-16 09:37:45 +03:00
Mike Voronov
c51b5982d6
Fix IT generation (#87) 2021-05-19 18:58:24 +03:00
Mike Voronov
fa38bc4025
Add marine tests examples (#85) 2021-05-13 00:02:33 +03:00
Mike Voronov
0b1d038565
Rename to marine: part 2 (#84) 2021-05-11 15:44:11 +03:00
Mike Voronov
269f691569
Rename to marine: step 1 (#83) 2021-05-10 12:51:22 +03:00
vms
2caee2ec0d
add changelog, update examples (#82) 2021-04-29 14:38:00 +03:00
vms
af66326ecf
Switch to published versions (#81) 2021-04-27 19:24:48 +03:00
vms
96c32b64d8
Improve arrays and record passing scheme (#76) 2021-04-26 14:02:26 +03:00
vms
c702311595
Remove unsafe from import funcs (#75) 2021-04-19 13:34:05 +03:00
vms
ab14b987ea use latest sqlite and redis 2021-04-12 15:30:37 +03:00
vms
1dcc9968bb
Support references (#70) 2021-04-12 00:21:47 +03:00
vms
5effdcba72
Support versioning in CLI (#67) 2021-03-12 20:04:47 +03:00
vms
b0f2738c94 update paths in Config.toml 2021-03-04 14:15:21 +03:00
vms
474b90b153 update sqlite example 2021-03-04 14:09:58 +03:00
vms
ed03154258 move to the fluence sdk 0.4.2 2021-02-28 19:31:53 +03:00
vms
4e59c1815c
move to the sdk 0.4.1 (#65) 2021-02-26 13:21:53 +03:00
vms
ad1b016529 bump crate versions 2021-02-25 22:27:16 +03:00
vms
c559f3f226
New mounted binaries interface (#64) 2021-02-24 12:25:55 +03:00
Dima
65a7223803
update sqlite, update all wasms, small fixes (#60)
Co-authored-by: vms <michail.vms@gmail.com>
2021-02-04 15:32:45 +03:00
vms
a1139bda61 fix crate versions 2021-01-12 12:14:33 +03:00
folex
fae87bc0eb
Mark examples as publish = false (#57) 2020-12-31 15:03:00 +03:00
folex
d25f224558
Store ParticleParameters in AquamarineVM, pass them to call_service (#55) 2020-12-25 17:31:31 +03:00
vms
b342859164
update sdk to 0.2.13 (#53) 2020-12-22 16:06:49 +03:00
vms
a039973835
Reexport tetplaplets (#52) 2020-12-21 19:34:25 +03:00
Dima
11674ee856
i64 -> i32 for 'target' in log_utf8_string (#49) 2020-12-17 18:46:01 +03:00
vms
af75084ceb
Improving logging in repl (#42) 2020-11-10 20:30:10 +03:00
vms
e24bb8e1ac bump fluence sdk version 2020-11-09 06:38:09 +03:00
vms
b4d4364a6a improve getting export record types 2020-11-09 06:14:07 +03:00
vms
2ef43ee778
Support function names in IT (#41) 2020-11-07 00:08:09 +03:00
vms
d014bdbfc7 update examples 2020-10-14 15:30:50 +03:00
vms
1b3c73f03b update examples 2020-10-07 23:19:17 +03:00
vms
7174906784 bump versions 2020-10-01 13:15:01 +03:00
vms
58f14427f1
Array support (#28) 2020-09-23 01:14:54 +03:00
vms
8296486eaa add sqlite example 2020-09-17 21:46:53 +03:00