feat: update marine runtime (#93)

* update fluence-app-service and marine-it-parser crates

* update Cargo.lock

* update marine
This commit is contained in:
Valery Antopol 2023-08-09 22:37:17 +03:00 committed by GitHub
parent e7117581e2
commit 749429ddcb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 182 additions and 23 deletions

201
Cargo.lock generated
View File

@ -610,7 +610,25 @@ dependencies = [
"log", "log",
"maplit", "maplit",
"marine-min-it-version", "marine-min-it-version",
"marine-runtime", "marine-runtime 0.28.0",
"marine-wasm-backend-traits",
"marine-wasmtime-backend",
"serde",
"serde_derive",
"serde_json",
"toml",
]
[[package]]
name = "fluence-app-service"
version = "0.28.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "9c587beb44ec3452670aeabff1eaac017aba2c78766ce1b5fd26c633e0af02b5"
dependencies = [
"log",
"maplit",
"marine-min-it-version",
"marine-runtime 0.29.0",
"marine-wasm-backend-traits", "marine-wasm-backend-traits",
"marine-wasmtime-backend", "marine-wasmtime-backend",
"serde", "serde",
@ -1017,7 +1035,36 @@ dependencies = [
"marine-it-interfaces", "marine-it-interfaces",
"marine-it-parser", "marine-it-parser",
"marine-min-it-version", "marine-min-it-version",
"marine-module-info-parser", "marine-module-info-parser 0.7.0",
"marine-module-interface",
"marine-utils",
"marine-wasm-backend-traits",
"marine-wasmtime-backend",
"multimap",
"once_cell",
"paste",
"semver",
"serde",
"thiserror",
"wasmer-interface-types-fl",
]
[[package]]
name = "marine-core"
version = "0.23.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "87032a611ce1124dde90a9230a49be4efa39d192722604c7464704a16de790e6"
dependencies = [
"anyhow",
"bytesize",
"it-lilo",
"it-memory-traits",
"log",
"marine-it-generator",
"marine-it-interfaces",
"marine-it-parser",
"marine-min-it-version",
"marine-module-info-parser 0.8.0",
"marine-module-interface", "marine-module-interface",
"marine-utils", "marine-utils",
"marine-wasm-backend-traits", "marine-wasm-backend-traits",
@ -1039,7 +1086,7 @@ checksum = "7b0cc0ce2ee4ee0986abf71327b84ef3fb26dcb33b866226f9e659d1cce922fd"
dependencies = [ dependencies = [
"it-lilo", "it-lilo",
"marine-it-parser", "marine-it-parser",
"marine-macro-impl", "marine-macro-impl 0.7.1",
"once_cell", "once_cell",
"serde", "serde",
"serde_json", "serde_json",
@ -1083,8 +1130,18 @@ version = "0.7.1"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "5e03da22f641984aad5229f780d190502196d1c0bf908d3d17f5d6bcba73e525" checksum = "5e03da22f641984aad5229f780d190502196d1c0bf908d3d17f5d6bcba73e525"
dependencies = [ dependencies = [
"marine-macro-impl", "marine-macro-impl 0.7.1",
"marine-rs-sdk-main", "marine-rs-sdk-main 0.7.1",
]
[[package]]
name = "marine-macro"
version = "0.8.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "9c99fa7013660d8e129b2bcd51138015136b91903f88529f1da0510f850c28ea"
dependencies = [
"marine-macro-impl 0.8.1",
"marine-rs-sdk-main 0.8.1",
] ]
[[package]] [[package]]
@ -1100,6 +1157,19 @@ dependencies = [
"syn 1.0.109", "syn 1.0.109",
] ]
[[package]]
name = "marine-macro-impl"
version = "0.8.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "43b4761eec59a2914413d1ea14659305e6374bfed69998f33763daa586c44196"
dependencies = [
"proc-macro2",
"quote",
"serde",
"serde_json",
"syn 1.0.109",
]
[[package]] [[package]]
name = "marine-macro-testing-utils" name = "marine-macro-testing-utils"
version = "0.1.0" version = "0.1.0"
@ -1129,7 +1199,23 @@ checksum = "95e6631ba8cf71539a1a977f2a5f67edf03e7cc322dd23b21bddc4a48e3144c8"
dependencies = [ dependencies = [
"anyhow", "anyhow",
"chrono", "chrono",
"marine-rs-sdk-main", "marine-rs-sdk-main 0.7.1",
"marine-wasm-backend-traits",
"semver",
"serde",
"thiserror",
"walrus 0.20.1",
]
[[package]]
name = "marine-module-info-parser"
version = "0.8.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "e519714ac32b1ffe432f743e011c3695d0cb7a89a906775d81f84546b57b6f29"
dependencies = [
"anyhow",
"chrono",
"marine-rs-sdk-main 0.8.1",
"marine-wasm-backend-traits", "marine-wasm-backend-traits",
"semver", "semver",
"serde", "serde",
@ -1160,10 +1246,23 @@ version = "0.7.1"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "1cfeeb7b8cd98e32276fabfe6ab095a6aae793f3f080e7eb1c3d36b1b762397c" checksum = "1cfeeb7b8cd98e32276fabfe6ab095a6aae793f3f080e7eb1c3d36b1b762397c"
dependencies = [ dependencies = [
"marine-macro", "marine-macro 0.7.1",
"marine-rs-sdk-main", "marine-rs-sdk-main 0.7.1",
"marine-timestamp-macro", "marine-timestamp-macro 0.7.1",
"polyplets", "polyplets 0.3.0",
"serde",
]
[[package]]
name = "marine-rs-sdk"
version = "0.8.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "11991d31bf4d53651e1c151637f260c759eb9f28ecf8c894eb260b50f46459cc"
dependencies = [
"marine-macro 0.8.1",
"marine-rs-sdk-main 0.8.1",
"marine-timestamp-macro 0.8.1",
"polyplets 0.4.0",
"serde", "serde",
] ]
@ -1177,11 +1276,21 @@ dependencies = [
"serde", "serde",
] ]
[[package]]
name = "marine-rs-sdk-main"
version = "0.8.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "b01678ba2a94fcfeb8232e87281937b07927ab2a54205747b6ab45e3f5ad65fd"
dependencies = [
"log",
"serde",
]
[[package]] [[package]]
name = "marine-rs-sdk-test" name = "marine-rs-sdk-test"
version = "0.10.0" version = "0.10.0"
dependencies = [ dependencies = [
"fluence-app-service", "fluence-app-service 0.27.0",
"marine-build-rs-generator", "marine-build-rs-generator",
"marine-test-macro", "marine-test-macro",
"serde", "serde",
@ -1201,10 +1310,39 @@ dependencies = [
"it-memory-traits", "it-memory-traits",
"itertools", "itertools",
"log", "log",
"marine-core", "marine-core 0.22.0",
"marine-module-interface", "marine-module-interface",
"marine-rs-sdk", "marine-rs-sdk 0.7.1",
"marine-rs-sdk-main", "marine-rs-sdk-main 0.7.1",
"marine-utils",
"marine-wasm-backend-traits",
"marine-wasmtime-backend",
"parking_lot",
"safe-transmute",
"serde",
"serde_derive",
"serde_json",
"serde_with",
"thiserror",
"toml",
"wasmer-interface-types-fl",
]
[[package]]
name = "marine-runtime"
version = "0.29.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "81c1a551a89aefb96a9f4443c4d4f56b998c20008faf5fa26fc4cc5c723a0c13"
dependencies = [
"bytesize",
"it-json-serde",
"it-memory-traits",
"itertools",
"log",
"marine-core 0.23.0",
"marine-module-interface",
"marine-rs-sdk 0.8.1",
"marine-rs-sdk-main 0.8.1",
"marine-utils", "marine-utils",
"marine-wasm-backend-traits", "marine-wasm-backend-traits",
"marine-wasmtime-backend", "marine-wasmtime-backend",
@ -1235,7 +1373,7 @@ name = "marine-test-macro-impl"
version = "0.10.0" version = "0.10.0"
dependencies = [ dependencies = [
"darling 0.20.1", "darling 0.20.1",
"fluence-app-service", "fluence-app-service 0.28.0",
"itertools", "itertools",
"marine-it-parser", "marine-it-parser",
"marine-macro-testing-utils", "marine-macro-testing-utils",
@ -1257,6 +1395,16 @@ dependencies = [
"quote", "quote",
] ]
[[package]]
name = "marine-timestamp-macro"
version = "0.8.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "80d254ea11e35cdeccc62ffccf78775c066750c9e5bae4934eb0758187442282"
dependencies = [
"chrono",
"quote",
]
[[package]] [[package]]
name = "marine-utils" name = "marine-utils"
version = "0.5.0" version = "0.5.0"
@ -1449,8 +1597,19 @@ version = "0.3.0"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "407811d09f3e0fb2086060afdfbad2e6bb5b63c300edeec93358bb5b8a8e4257" checksum = "407811d09f3e0fb2086060afdfbad2e6bb5b63c300edeec93358bb5b8a8e4257"
dependencies = [ dependencies = [
"marine-macro", "marine-macro 0.7.1",
"marine-rs-sdk-main", "marine-rs-sdk-main 0.7.1",
"serde",
]
[[package]]
name = "polyplets"
version = "0.4.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "b579a79a461ca50abb202eac61c76d8782fdf091a91775c9e181352e7cd30a8b"
dependencies = [
"marine-macro 0.8.1",
"marine-rs-sdk-main 0.8.1",
"serde", "serde",
] ]
@ -1662,18 +1821,18 @@ checksum = "bebd363326d05ec3e2f532ab7660680f3b02130d780c299bca73469d521bc0ed"
[[package]] [[package]]
name = "serde" name = "serde"
version = "1.0.162" version = "1.0.164"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "71b2f6e1ab5c2b98c05f0f35b236b22e8df7ead6ffbf51d7808da7f8817e7ab6" checksum = "9e8c8cf938e98f769bc164923b06dce91cea1751522f46f8466461af04c9027d"
dependencies = [ dependencies = [
"serde_derive", "serde_derive",
] ]
[[package]] [[package]]
name = "serde_derive" name = "serde_derive"
version = "1.0.162" version = "1.0.164"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "a2a0814352fd64b58489904a44ea8d90cb1a91dcb6b4f5ebabc32c8318e93cb6" checksum = "d9735b638ccc51c28bf6914d90a2e9725b377144fc612c49a611fddd1b631d68"
dependencies = [ dependencies = [
"proc-macro2", "proc-macro2",
"quote", "quote",

View File

@ -23,7 +23,7 @@ trybuild = "1.0"
[dependencies] [dependencies]
marine-test-macro = { path = "crates/marine-test-macro", version = "=0.10.0" } marine-test-macro = { path = "crates/marine-test-macro", version = "=0.10.0" }
marine-build-rs-generator = { path = "crates/marine-build-rs-generator", version = "=0.10.0" } marine-build-rs-generator = { path = "crates/marine-build-rs-generator", version = "=0.10.0" }
fluence-app-service = { version = "0.27.0", features = ["raw-module-api"] } fluence-app-service = { version = "0.28.0", features = ["raw-module-api"] }
serde = { version = "1.0.162", features = ["derive"] } serde = { version = "1.0.162", features = ["derive"] }
serde_json = "1.0.96" serde_json = "1.0.96"

View File

@ -14,7 +14,7 @@ license = "Apache-2.0"
all-features = true all-features = true
[dependencies] [dependencies]
fluence-app-service = { version = "0.27.0", features = ["raw-module-api"] } fluence-app-service = { version = "0.28.0", features = ["raw-module-api"] }
marine-it-parser = "0.13.0" marine-it-parser = "0.13.0"
itertools = "0.10.5" itertools = "0.10.5"
darling = "0.20.1" darling = "0.20.1"