1
0
mirror of https://github.com/fluencelabs/marine.git synced 2025-03-16 14:30:49 +00:00

145 Commits

Author SHA1 Message Date
Valery Antopol
662a49204f
feat!: add memory limiting ()
* 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
fluencebot
cec976de88
chore: release master ()
* chore: release master

* chore: Bump marine-js version to 0.8.0
2023-11-07 17:36:17 +03:00
Valery Antopol
8c217c7c3d
fix(versions)!: enforce minor version bumps ()
bump versions
2023-11-07 16:49:49 +03:00
renovate[bot]
8480a49e08
chore(deps): update rust crate check-latest to 1.0.2 ()
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-23 16:13:46 +03:00
renovate[bot]
44b8e96362
feat(deps): update rust crate anyhow to 1.0.75 ()
chore(deps): update rust crate anyhow to 1.0.75

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-23 15:50:28 +03:00
renovate[bot]
0c1d3780b0
chore(deps): update rust crate serde_json to 1.0.107 ()
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-23 15:18:40 +03:00
renovate[bot]
8a6035f2f1
chore(deps): update rust crate log to 0.4.20 ()
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-23 15:17:38 +03:00
fluencebot
040071c5a3
chore: release master ()
* chore: release master

* chore: Bump marine-js version to 0.7.4
2023-09-13 22:41:30 +03:00
Valery Antopol
036c3348e3
feat(deps)!: update marine-rs-sdk-to 0.10.0 ()
* 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
fluencebot
398d704928
chore: release master ()
* chore: release master

* chore: Regenerate Cargo.lock

* chore: Bump marine-js version to 0.7.3
2023-08-09 16:38:41 +03:00
Valery Antopol
bf8e2e9114
fix(versions)!: enforce minor version bump on minor dependency update () 2023-08-09 16:21:02 +03:00
Valery Antopol
e7861f5613 feat(deps)!: update marine-rs-sdk 2023-08-09 15:46:46 +03:00
fluencebot
ec7fcbc232
chore: release master ()
* chore: release master

* chore: Regenerate Cargo.lock

* chore: Bump marine-js version to 0.7.1
2023-08-04 14:45:52 +03:00
Valery Antopol
71e138dce3
fix!: update versions to comply with semver ()
bump versions
2023-08-04 14:27:31 +03:00
fluencebot
6000feca71
chore: release master ()
* chore: release master

* chore: Regenerate Cargo.lock

* chore: Bump marine-js version to 0.5.0
2023-07-25 21:57:16 +03:00
renovate[bot]
d4ccc72748
chore(deps): update rust crate anyhow to 1.0.71 ()
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-11 20:42:35 +03:00
renovate[bot]
4a0cddab1e
chore(deps): update rust crate uuid to 1.4.0 ()
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-11 19:29:24 +03:00
renovate[bot]
aa19d0e81c
chore(deps): update rust crate env_logger to 0.10.0 ()
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-11 19:26:46 +03:00
renovate[bot]
6ef5032e2c
chore(deps): update rust crate log to 0.4.19 ()
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-11 19:22:48 +03:00
fluencebot
9b582ba2ed
chore: release master ()
* chore: release master

* chore: Bump marine-js version to 0.4.1
2023-04-04 17:18:19 +03:00
Anatolios Laskaris
27e8658e77
chore: Release fixes ()
* Revert "chore: release master ()"

This reverts commit 26ab445b5978e66e7a4ea26c3758bd531acff1cd.

* Update

* Fix
2023-04-04 14:08:25 +03:00
fluencebot
26ab445b59
chore: release master ()
* chore: release master

* chore: Bump marine-js version to 0.3.5
2023-04-04 13:34:35 +03:00
fluencebot
66e42ef4c4
chore: release master ()
* chore: release master

* update Cargo.lock

---------

Co-authored-by: Valery Antopol <valery.antopol@gmail.com>
2023-03-29 17:46:49 +03:00
fluencebot
29e73931f6
chore: release master ()
* chore: release master

* Fix lock

---------

Co-authored-by: Anatoly Laskaris <github_me@nahsi.dev>
2023-03-22 17:37:42 +02:00
Anatolios Laskaris
51e062cbd8
chore: Revert latest release ()
* Revert "chore: release master ()"

This reverts commit b23e1654f626ed856be2202867933db3acc0aef5.

* Fix binary build

* Fix
2023-03-22 17:25:37 +02:00
fluencebot
b23e1654f6
chore: release master () 2023-03-22 16:58:53 +03:00
fluencebot
f7ecddafd5
chore: release master ()
* chore: release master

* chore: Bump marine-js version to 0.3.4

* update marine-js and lockfile

---------

Co-authored-by: Valery Antopol <valery.antopol@gmail.com>
2023-03-15 01:30:12 +03:00
Valery Antopol
d3a773df4f
feat!: decouple wasmer from Marine, replace it with generic backend interface () 2023-03-15 00:43:51 +03:00
fluencebot
299382fa72
chore: release master () 2023-03-03 19:30:10 +03:00
Valery Antopol
1d868992bd
feat(fluence-app-service)!: add separate bases for temp dirs and mapped dirs ()
* feat(mrepl)!: add --working-dir option, use "." as default value

* create mapped dirs

* cleanup

* return wasm artifacts

* rework tmp dirs handling

* make clippy happy

* make clippy happy

* return service_base_dir name

* create mapped dirs

* Save working dir for new_service command

* flatten use statements

* flatten use statements

* revert side-changes
2023-03-03 19:27:14 +03:00
fluencebot
5e91bfca90
chore: release master () 2023-02-20 22:35:03 +03:00
fluencebot
c54fce7c7b
chore: release master () 2023-02-10 19:26:17 +02:00
Anatolios Laskaris
da31cbbe38
fix(cli): Make checking latest version an optional feature ()
fix: Make checking latest version optional feature
2023-02-10 19:13:20 +02:00
fluencebot
6260c4d42f
chore: release master () 2023-02-08 17:13:40 +03:00
Valery Antopol
9c1f20b8a7
feat!: add pretty-print for repl output + small error messaging improvement () 2023-02-08 14:32:36 +03:00
Valery Antopol
a022a30442
chore(master): release () 2022-12-06 16:52:49 +03:00
renovate[bot]
ee514fb8fc
chore(deps): update all non-major rust dependencies ()
* chore(deps): update all non-major rust dependencies

* fix build

* fmt

* update generated code in marine-js

* bump marine-runtime version

* update gitignore

* Revert "bump marine-runtime version"

This reverts commit 7cf9f0b6d489408d35b3f86807d9ad7684f0708a.

* bump versions

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Valery Antopol <valery.antopol@gmail.com>
2022-11-28 18:37:07 +03:00
Valery Antopol
03393545cc
fix(runtime): detect mapped/preopened dirs conflicts before wasmer-wasi crashes () 2022-10-18 16:56:42 +03:00
Valery Antopol
fd47800cca
chore(build): fix clippy warnings () 2022-09-19 19:13:38 +03:00
renovate[bot]
684bf7cb38
Update Rust crate semver to v1 ()
* Update Rust crate semver to v1

* bump all the deps

* update wasmer-it and fix build

* bump more versions + fix marine-js

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Valery Antopol <valery.antopol@gmail.com>
2022-09-13 16:25:11 +03:00
Valery Antopol
853bc595ec
fix!: bump minor versions where it was required in ()
* fix!: bump minor versions where it was required in 

* update marine-js build
2022-09-12 16:55:33 +03:00
renovate[bot]
1aeb9b70b5
Update all non-major Rust dependencies ()
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-09-09 18:55:35 +03:00
renovate[bot]
c674c92104
Update Rust crate serde_with to v2 ()
* Update Rust crate serde_with to v2

* bump versions

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Valery Antopol <valery.antopol@gmail.com>
2022-09-09 16:05:09 +03:00
renovate[bot]
1d8dd292c4
Update Rust crate cmd_lib to v1 ()
* Update Rust crate cmd_lib to v1

* remove cmd_lib dependency

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Valery Antopol <valery.antopol@gmail.com>
2022-09-08 22:56:27 +03:00
renovate[bot]
28e059c506
Update Rust crate uuid to v1 ()
* Update Rust crate uuid to v1

* bump repl version

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Valery Antopol <valery.antopol@gmail.com>
2022-09-08 21:50:04 +03:00
renovate[bot]
dc134a224a
Update Rust crate rustyline to v10 ()
* Update Rust crate rustyline to v10

* use new rustyline API

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Valery Antopol <valery.antopol@gmail.com>
2022-09-08 00:42:29 +03:00
renovate[bot]
b3a8898893
Update all non-major Rust dependencies ()
* Update all non-major Rust dependencies

* fix tokio features

* add rt tokio feature

* bump bytes crate version to keep up with reqwest

* update tokio to 1.21.0

* bump crate versions

* use latest rust toolchain always

* update wasm-bindgen generated and patched code

* revert toolchaijn version change

* revert toolchaijn version change

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Valery Antopol <valery.antopol@gmail.com>
2022-09-02 18:48:25 +03:00
Valery Antopol
71b5953c22
feat(fluence-app-service): make base path field optional in ConfigContext interface () 2022-08-31 14:14:43 +03:00
Valery Antopol
f41b23dd5c
fix(repl): crash when given relative path to config in non-current directory () 2022-08-30 16:59:40 +03:00
Valery Antopol
650aec50d5
feat(repl): allow partial call_parameters specification in call ()
* add partial call_parameters support, fix work with config not in the same dir

* move path fixes to another PR
2022-08-30 16:40:01 +03:00