207 Commits

Author SHA1 Message Date
Valery Antopol
83eb1555ce wasm 3.1 backend implementation some progress (2) + fmt 2023-01-05 19:27:56 +03:00
Valery Antopol
eda2878cb6 wasm 3.1 backend implementation some progress 2022-12-31 02:35:32 +03:00
Valery Antopol
faa8e0e0af fmt 2022-12-29 18:13:37 +03:00
Valery Antopol
99b4da7fac [wip] refactoring the refactoring: updating wasmer to 3.1.0, organizing traits and implementations into files 2022-12-29 17:51:12 +03:00
Valery Antopol
b00f666020 [wip] making all required structs threadsafe 2022-12-29 00:00:39 +03:00
Valery Antopol
e2522ba91d implemented all todo!() in wasmtime, trying to get it to work 2022-12-25 16:38:31 +03:00
Valery Antopol
c0e3a6c26c fmt 2022-12-21 15:54:53 +03:00
Valery Antopol
d36012d2e4 Wasmtime version builds (but has todo!() in it) 2022-12-21 15:54:35 +03:00
Valery Antopol
c6146eaaed finally wasmer tests are passing 2022-12-21 14:50:34 +03:00
Valery Antopol
d023bd9370 WIP just state stored 2022-12-20 23:52:57 +03:00
Valery Antopol
20d03317d8 get rid of Rc for Store, move interface-types deps to workspace 2022-12-13 00:51:15 +03:00
Valery Antopol
a022a30442
chore(master): release (#245) 2022-12-06 16:52:49 +03:00
Valery Antopol
30c6dc4de1
feat!: prohibit going out of service_dir in app-service (#244) 2022-12-06 16:28:00 +03:00
renovate[bot]
ee514fb8fc
chore(deps): update all non-major rust dependencies (#211)
* 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
546d7b43a6 more stores, impl functions for wasmtime 2022-10-31 03:39:42 +03:00
Valery Antopol
3e0a1318d6 switch do dyn ExportContext, get rid of some 'static requirements 2022-10-31 02:26:37 +03:00
Valery Antopol
a8f5545edf wip: intoduce Store, start adding it to signatures, update wasmer backend so it compiles and passes tests 2022-10-31 01:03:29 +03:00
Valery Antopol
b51f62a2b0 remove unused code 2022-10-28 05:36:47 +03:00
Valery Antopol
2d7d78e392 start implementing wasmtime backend + simplify wasm traits a little bit 2022-10-28 05:31:54 +03:00
Valery Antopol
a1cb2085d6 add skeleton of js wasm backend for marine 2022-10-28 02:49:59 +03:00
Valery Antopol
4646d9cca5 move import traits to a separate file 2022-10-25 05:11:36 +03:00
Valery Antopol
6e3ba60e6d refactor short type names to long names, group types 2022-10-24 17:27:34 +03:00
Valery Antopol
5fe5d2aeb0 Revert "wip"
This reverts commit d9d6b39c56e02d7370dc46773d8e151ac24d3178.
2022-10-24 17:12:17 +03:00
Valery Antopol
50e438c051 revert import_object change 2022-10-24 17:12:09 +03:00
Valery Antopol
03393545cc
fix(runtime): detect mapped/preopened dirs conflicts before wasmer-wasi crashes (#223) 2022-10-18 16:56:42 +03:00
Valery Antopol
d765d81fdc wip 2022-10-07 18:24:03 +03:00
Valery Antopol
d9d6b39c56 wip 2022-09-30 17:20:28 +03:00
Valery Antopol
6834c3fef0 fix build with all features 2022-09-27 17:02:49 +03:00
Valery Antopol
4cd6abef1d fmt 2022-09-27 16:53:00 +03:00
Valery Antopol
c9fcf7fe90 fix cli build 2022-09-27 16:49:53 +03:00
Valery Antopol
1b546537f3 marine-core tests are passing 2022-09-27 16:43:03 +03:00
Valery Antopol
40cb5f3867 reach successful compilation 2022-09-27 14:32:00 +03:00
Valery Antopol
c28f2d4d90 almost fixed build 2022-09-21 03:37:09 +03:00
Valery Antopol
79d4e5f3fa Merge branch 'master' into marine-web-milestone2
# Conflicts:
#	Cargo.lock
#	core/Cargo.toml
#	core/src/config.rs
#	core/src/host_imports/imports.rs
#	core/src/marine_core.rs
#	core/src/module/marine_module.rs
#	core/src/module/mod.rs
#	core/tests/greeting.rs
#	core/tests/records.rs
#	core/tests/redis_sqlite.rs
#	crates/fluence-app-service/src/config.rs
#	crates/fluence-app-service/src/raw_toml_config.rs
#	crates/fluence-app-service/src/service.rs
#	crates/it-parser/Cargo.toml
#	crates/wasmer-backend/src/memory.rs
#	crates/wasmer-backend/src/memory_access.rs
#	fluence-app-service/Cargo.toml
#	fluence-faas/tests/records.rs
#	marine/Cargo.toml
#	marine/src/config/marine_config.rs
#	marine/src/config/to_marine_config.rs
#	marine/src/host_imports/call_parameters.rs
#	marine/src/host_imports/logger/log_utf8_string_impl.rs
#	marine/src/host_imports/mounted_binaries.rs
#	marine/src/marine.rs
#	marine/tests/arguments_passing.rs
#	marine/tests/arrays_passing.rs
#	marine/tests/call_parameters.rs
#	marine/tests/greeting.rs
2022-09-20 01:52:16 +03:00
Valery Antopol
fd47800cca
chore(build): fix clippy warnings (#213) 2022-09-19 19:13:38 +03:00
renovate[bot]
684bf7cb38
Update Rust crate semver to v1 (#198)
* 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 #189 (#212)
* fix!: bump minor versions where it was required in #189

* update marine-js build
2022-09-12 16:55:33 +03:00
renovate[bot]
1aeb9b70b5
Update all non-major Rust dependencies (#204)
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 (#203)
* 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 (#194)
* 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]
b3a8898893
Update all non-major Rust dependencies (#189)
* 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 (#202) 2022-08-31 14:14:43 +03:00
Valery Antopol
3449a34e35
Use sdk version from cargo manifest, instead of hardcoded value (#186) 2022-08-03 18:26:45 +03:00
Valery Antopol
17e8bf041e
Rework module searching on filesystem (#184) 2022-07-29 17:09:54 +03:00
Valery Antopol
d4a4d53bd5
bump crate versions that used marine-rs-sdk-main 0.6.15 (#185) 2022-07-27 21:58:47 +03:00
Valery Antopol
d9c8de35aa
Support marine-rs-sdk 0.7.0 (#180) 2022-07-27 18:01:30 +03:00
Mike Voronov
7a80d3e5a1
Fix value after table problem in TomlMarineNamedModuleConfig(#175) 2022-06-09 17:35:47 +03:00
Valery Antopol
aa954f35f2
REPL: improve "interface" command output readability (#169) 2022-06-02 20:09:14 +03:00
Mike Voronov
82217b332e
Rename FaaS to Marine, Runtime to Core (#172) 2022-06-02 19:51:27 +03:00
Mike Voronov
221e5e94b4
Use impl AsRef instead generics params in Marine interface (#166) 2022-05-26 23:05:58 +03:00