diff --git a/.gitignore b/.gitignore index b171eebd..94cafaee 100644 --- a/.gitignore +++ b/.gitignore @@ -13,6 +13,7 @@ target/ *.repl_history # Allowed Wasm files for examples +!/examples/call_parameters/artifacts/*.wasm !/examples/greeting/artifacts/*.wasm !/examples/ipfs-node/artifacts/*.wasm !/examples/records/artifacts/*.wasm diff --git a/Cargo.lock b/Cargo.lock index 9dfbacff..a34c1eeb 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -702,20 +702,20 @@ dependencies = [ [[package]] name = "fluence" version = "0.2.8" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "12efe44782ef6842b824dd281f79f808597a2c280d1facc06bb62b9cf8fbc2ef" +source = "git+https://github.com/fluencelabs/rust-sdk#4d6c4f6b862c22ebd8db7244daac0adf3f1bd2fd" dependencies = [ - "fluence-sdk-macro 0.2.8 (registry+https://github.com/rust-lang/crates.io-index)", - "fluence-sdk-main 0.2.8 (registry+https://github.com/rust-lang/crates.io-index)", + "fluence-sdk-macro 0.2.8 (git+https://github.com/fluencelabs/rust-sdk)", + "fluence-sdk-main 0.2.8 (git+https://github.com/fluencelabs/rust-sdk)", ] [[package]] name = "fluence" version = "0.2.8" -source = "git+https://github.com/fluencelabs/rust-sdk#4d6c4f6b862c22ebd8db7244daac0adf3f1bd2fd" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "12efe44782ef6842b824dd281f79f808597a2c280d1facc06bb62b9cf8fbc2ef" dependencies = [ - "fluence-sdk-macro 0.2.8 (git+https://github.com/fluencelabs/rust-sdk)", - "fluence-sdk-main 0.2.8 (git+https://github.com/fluencelabs/rust-sdk)", + "fluence-sdk-macro 0.2.8 (registry+https://github.com/rust-lang/crates.io-index)", + "fluence-sdk-main 0.2.8 (registry+https://github.com/rust-lang/crates.io-index)", ] [[package]] @@ -753,6 +753,14 @@ dependencies = [ "wasmer-wasi-fl", ] +[[package]] +name = "fluence-sdk-macro" +version = "0.2.8" +source = "git+https://github.com/fluencelabs/rust-sdk#4d6c4f6b862c22ebd8db7244daac0adf3f1bd2fd" +dependencies = [ + "fluence-sdk-wit 0.2.8 (git+https://github.com/fluencelabs/rust-sdk)", +] + [[package]] name = "fluence-sdk-macro" version = "0.2.8" @@ -763,11 +771,13 @@ dependencies = [ ] [[package]] -name = "fluence-sdk-macro" +name = "fluence-sdk-main" version = "0.2.8" source = "git+https://github.com/fluencelabs/rust-sdk#4d6c4f6b862c22ebd8db7244daac0adf3f1bd2fd" dependencies = [ - "fluence-sdk-wit 0.2.8 (git+https://github.com/fluencelabs/rust-sdk)", + "fluence-sdk-macro 0.2.8 (git+https://github.com/fluencelabs/rust-sdk)", + "log", + "serde", ] [[package]] @@ -781,21 +791,10 @@ dependencies = [ "serde", ] -[[package]] -name = "fluence-sdk-main" -version = "0.2.8" -source = "git+https://github.com/fluencelabs/rust-sdk#4d6c4f6b862c22ebd8db7244daac0adf3f1bd2fd" -dependencies = [ - "fluence-sdk-macro 0.2.8 (git+https://github.com/fluencelabs/rust-sdk)", - "log", - "serde", -] - [[package]] name = "fluence-sdk-wit" version = "0.2.8" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "560baf91197ded38a99a5c94ff366a3dd971ebf33f5d987ecce31d3dedf86d17" +source = "git+https://github.com/fluencelabs/rust-sdk#4d6c4f6b862c22ebd8db7244daac0adf3f1bd2fd" dependencies = [ "proc-macro2", "quote", @@ -808,7 +807,8 @@ dependencies = [ [[package]] name = "fluence-sdk-wit" version = "0.2.8" -source = "git+https://github.com/fluencelabs/rust-sdk#4d6c4f6b862c22ebd8db7244daac0adf3f1bd2fd" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "560baf91197ded38a99a5c94ff366a3dd971ebf33f5d987ecce31d3dedf86d17" dependencies = [ "proc-macro2", "quote", diff --git a/examples/call_parameters/artifacts/call_parameters.wasm b/examples/call_parameters/artifacts/call_parameters.wasm index e2ea5bc0..e10dc689 100755 Binary files a/examples/call_parameters/artifacts/call_parameters.wasm and b/examples/call_parameters/artifacts/call_parameters.wasm differ diff --git a/examples/greeting/artifacts/greeting.wasm b/examples/greeting/artifacts/greeting.wasm index b7c3f16c..3cebd334 100755 Binary files a/examples/greeting/artifacts/greeting.wasm and b/examples/greeting/artifacts/greeting.wasm differ diff --git a/examples/greeting/artifacts/greeting_cp.wasm b/examples/greeting/artifacts/greeting_cp.wasm deleted file mode 100755 index 34fe0cb8..00000000 Binary files a/examples/greeting/artifacts/greeting_cp.wasm and /dev/null differ diff --git a/examples/greeting/build.sh b/examples/greeting/build.sh index dd2218c2..91336a7e 100755 --- a/examples/greeting/build.sh +++ b/examples/greeting/build.sh @@ -6,4 +6,3 @@ fce build --release rm artifacts/* cp ../../target/wasm32-wasi/release/greeting.wasm artifacts/ -cp ../../target/wasm32-wasi/release/greeting_cp.wasm artifacts/ diff --git a/examples/ipfs-node/artifacts/ipfs_effector.wasm b/examples/ipfs-node/artifacts/ipfs_effector.wasm index d1769aae..f8829dd4 100755 Binary files a/examples/ipfs-node/artifacts/ipfs_effector.wasm and b/examples/ipfs-node/artifacts/ipfs_effector.wasm differ diff --git a/examples/ipfs-node/artifacts/ipfs_pure.wasm b/examples/ipfs-node/artifacts/ipfs_pure.wasm index 5ddb7784..4c3cd074 100755 Binary files a/examples/ipfs-node/artifacts/ipfs_pure.wasm and b/examples/ipfs-node/artifacts/ipfs_pure.wasm differ diff --git a/examples/records/artifacts/records_effector.wasm b/examples/records/artifacts/records_effector.wasm index bb95ae16..fb123e3b 100755 Binary files a/examples/records/artifacts/records_effector.wasm and b/examples/records/artifacts/records_effector.wasm differ diff --git a/examples/records/artifacts/records_pure.wasm b/examples/records/artifacts/records_pure.wasm index 78f3681a..d3aa486e 100755 Binary files a/examples/records/artifacts/records_pure.wasm and b/examples/records/artifacts/records_pure.wasm differ diff --git a/examples/site-storage/artifacts/curl.wasm b/examples/site-storage/artifacts/curl.wasm index 3ab907cb..56ba042b 100755 Binary files a/examples/site-storage/artifacts/curl.wasm and b/examples/site-storage/artifacts/curl.wasm differ diff --git a/examples/site-storage/artifacts/local_storage.wasm b/examples/site-storage/artifacts/local_storage.wasm index 5cbc6860..a213e2fa 100755 Binary files a/examples/site-storage/artifacts/local_storage.wasm and b/examples/site-storage/artifacts/local_storage.wasm differ diff --git a/examples/site-storage/artifacts/site-storage.wasm b/examples/site-storage/artifacts/site-storage.wasm index 7ca361d9..326942f6 100755 Binary files a/examples/site-storage/artifacts/site-storage.wasm and b/examples/site-storage/artifacts/site-storage.wasm differ diff --git a/examples/sqlite/artifacts/sqlite_test.wasm b/examples/sqlite/artifacts/sqlite_test.wasm index 0897b8e3..59628a05 100755 Binary files a/examples/sqlite/artifacts/sqlite_test.wasm and b/examples/sqlite/artifacts/sqlite_test.wasm differ