Skip to content

Commit

Permalink
feat(deps)!: update to marine runtime with memory limits (#98)
Browse files Browse the repository at this point in the history
update marine
  • Loading branch information
ValeryAntopol authored Dec 14, 2023
1 parent 0e164f3 commit f772635
Show file tree
Hide file tree
Showing 15 changed files with 768 additions and 392 deletions.
1,136 changes: 752 additions & 384 deletions Cargo.lock

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ trybuild = "1.0"
[dependencies]
marine-test-macro = { path = "crates/marine-test-macro", version = "=0.11.1" }
marine-build-rs-generator = { path = "crates/marine-build-rs-generator", version = "=0.11.1" }
fluence-app-service = { version = "0.29.0", features = ["raw-module-api"] }
fluence-app-service = { version = "0.31.0", features = ["raw-module-api"] }

serde = { version = "1.0.162", features = ["derive"] }
serde_json = "1.0.96"
Expand Down
4 changes: 2 additions & 2 deletions crates/marine-test-macro-impl/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ license = "Apache-2.0"
all-features = true

[dependencies]
fluence-app-service = { version = "0.29.0", features = ["raw-module-api"] }
marine-it-parser = "0.13.0"
fluence-app-service = { version = "0.31.0", features = ["raw-module-api"] }
marine-it-parser = "0.15.0"
itertools = "0.10.5"
darling = "0.20.1"
quote = "1.0.26"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
modules_dir = "artifacts/"
total_memory_limit = "Infinity"

[[module]]
name = "greeting"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
modules_dir = "artifacts/"
total_memory_limit = "Infinity"

[[module]]
name = "greeting"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
modules_dir = "artifacts/"
total_memory_limit = "Infinity"

[[module]]
name = "greeting"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
modules_dir = "artifacts/"
total_memory_limit = "Infinity"

[[module]]
name = "greeting"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
modules_dir = "artifacts/"
total_memory_limit = "Infinity"

[[module]]
name = "greeting"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
modules_dir = "artifacts/"
total_memory_limit = "Infinity"

[[module]]
name = "greeting"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
modules_dir = "artifacts/"
total_memory_limit = "Infinity"

[[module]]
name = "greeting"
mem_pages_count = 1
Expand Down
2 changes: 1 addition & 1 deletion examples/build_rs/Config.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
modules_dir = "artifacts/"
total_memory_limit = "Infinity"

[[module]]
name = "build_rs_test"
max_heap_size = "10 KiB"
logger_enabled = false
2 changes: 1 addition & 1 deletion examples/multi-service/consumer/Config.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
modules_dir = "artifacts/"
total_memory_limit = "Infinity"

[[module]]
name = "consumer"
max_heap_size = "10 KiB"
logger_enabled = false
2 changes: 1 addition & 1 deletion examples/multi-service/producer/Config.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
modules_dir = "artifacts/"
total_memory_limit = "Infinity"

[[module]]
name = "producer"
max_heap_size = "10 KiB"
logger_enabled = false
2 changes: 1 addition & 1 deletion examples/single-service/Config.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
modules_dir = "artifacts/"
total_memory_limit = "Infinity"

[[module]]
name = "greeting"
max_heap_size = "10 KiB"
logger_enabled = false
2 changes: 1 addition & 1 deletion rust-toolchain.toml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
[toolchain]
channel = "nightly-2022-12-01"
channel = "nightly-2023-12-10"
targets = [ "x86_64-unknown-linux-gnu", "x86_64-apple-darwin", "wasm32-wasi" ]
components = ["clippy", "rustfmt"]

0 comments on commit f772635

Please sign in to comment.