marine/core/Cargo.toml
Valery Antopol a61ddfc404
feat(marine-js)!: replace old marine-js with common marine-runtime + backend traits impl for JS (#332)
* add js wasm backend crate + blank trait impls

* make wasmtime a default feature for runtime and core

* WIP: mock WASI, greeting almost works

* WIP: added @wasmer/wasi, moved some stuff to JsStore, implementing Caller

* finalize Caller

* remove old code

* changing js API + fmt

* update wasm-bindgen generated and patched code

* update call_module to throw error, fix non-logging tests

* add multi-module test + update js api

* fix last element getting

* refactor interface + pass envs

* get rid of make_*_result

* small refactor

* support passing log function

* get rid of some todos

* use String instead of Vec<u8> for wasi envs

* use Strings for wasi envs in marine js

* little fix

* self-review fixes, import ordering

* self-review fixes, import ordering

* make clippy happy + fmt

* self-review fixes

* self-review fixes

* self-review fixes

* revert example artifact change

* pr fixes

* add __wbg_adapter_N updating code

* add all-types test

* fix build

* update marine_js.js

* Fix I64 handling

* pr fixes

* fix import order

* add copyrights

* Add comments, slightly beautify code

* fmt

* make clippy happy

* update js interface

* split function interface, improve naming

* update Cargo.lock

* update to new wasm-backend traits

* wip

* js glue code update

* improve comment

* use typed index collection

* Add more comments

* Add more comments

* Fix warnings

* pr fixes

* pr fixes
2023-07-25 19:49:55 +03:00

48 lines
1.4 KiB
TOML

[package]
name = "marine-core"
description = "Core of Marine, the Fluence Wasm Runtime"
version = "0.20.3"
authors = ["Fluence Labs"]
license = "Apache-2.0"
edition = "2021"
[lib]
name = "marine_core"
path = "src/lib.rs"
[dependencies]
marine-module-info-parser = { path = "../crates/module-info-parser", version = "0.6.1" }
marine-it-interfaces = { path = "../crates/it-interfaces", version = "0.8.1" }
marine-it-parser = { path = "../crates/it-parser", version = "0.12.1" }
marine-it-generator = { path = "../crates/it-generator", version = "0.10.1" }
marine-module-interface = { path = "../crates/module-interface", version = "0.7.1" }
marine-utils = { path = "../crates/utils", version = "0.5.0" }
marine-min-it-version = { path = "../crates/min-it-version", version = "0.3.0" }
marine-wasm-backend-traits = {path = "../crates/wasm-backend-traits", version = "0.2.1"}
marine-wasmtime-backend = { path = "../crates/wasmtime-backend", version = "0.2.2", optional = true}
wasmer-it = { package = "wasmer-interface-types-fl", version = "0.26.1" }
it-lilo = "0.5.1"
it-memory-traits = "0.4.0"
bytesize = "1.2.0"
multimap = "0.8.3"
once_cell = "1.16.0"
semver = "1.0.14"
serde = "1.0.147"
log = "0.4.19"
paste = "1.0.13"
anyhow = "1.0.71"
thiserror = "1.0.37"
[dev-dependencies]
reqwest = "0.11.18"
bytes = "1.3.0"
tokio = { version = "1.22.0", features = ["rt", "macros"] }
once_cell = "1.16.0"
[features]
default = ["marine-wasmtime-backend"]