diff --git a/.gitignore b/.gitignore index e2f10c56..36e1e867 100644 --- a/.gitignore +++ b/.gitignore @@ -13,5 +13,6 @@ target/ /examples/ipfs_node/wasm/artifacts/ipfs_rpc_file # Allowed Wasm files for examples -!/examples/ipfs_node/wasm/artifacts/wasm_ipfs_rpc_wit.wasi.wasm +!/examples/greeting/wasm/artifacts/greeting.wasm +!/examples/ipfs_node/wasm/artifacts/ipfs_rpc.wasm !/examples/ipfs_node/wasm/artifacts/wasm_modules/* diff --git a/Cargo.lock b/Cargo.lock index 9f2b098f..07ab4299 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -272,7 +272,7 @@ version = "0.8.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b584a330336237c1eecd3e94266efb216c56ed91225d634cb2991c5f3fd1aeab" dependencies = [ - "generic-array 0.14.2", + "generic-array 0.14.3", "subtle", ] @@ -301,7 +301,7 @@ version = "0.9.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d3dd60d1080a57a05ab032377049e0591415d2b31afd7028356dbf3cc6dcb066" dependencies = [ - "generic-array 0.14.2", + "generic-array 0.14.3", ] [[package]] @@ -412,7 +412,7 @@ dependencies = [ [[package]] name = "fluence" version = "0.2.0" -source = "git+https://github.com/fluencelabs/rust-sdk#9775ca6144b67b96aa70ad8020336cd264063316" +source = "git+https://github.com/fluencelabs/rust-sdk#40774a1107573fc85f49fef6267721fbe32f599a" dependencies = [ "fluence-sdk-macro", "fluence-sdk-main", @@ -437,7 +437,7 @@ dependencies = [ [[package]] name = "fluence-sdk-macro" version = "0.2.0" -source = "git+https://github.com/fluencelabs/rust-sdk#9775ca6144b67b96aa70ad8020336cd264063316" +source = "git+https://github.com/fluencelabs/rust-sdk#40774a1107573fc85f49fef6267721fbe32f599a" dependencies = [ "fluence-sdk-wit", ] @@ -445,7 +445,7 @@ dependencies = [ [[package]] name = "fluence-sdk-main" version = "0.2.0" -source = "git+https://github.com/fluencelabs/rust-sdk#9775ca6144b67b96aa70ad8020336cd264063316" +source = "git+https://github.com/fluencelabs/rust-sdk#40774a1107573fc85f49fef6267721fbe32f599a" dependencies = [ "log", ] @@ -453,7 +453,7 @@ dependencies = [ [[package]] name = "fluence-sdk-wit" version = "0.2.0" -source = "git+https://github.com/fluencelabs/rust-sdk#9775ca6144b67b96aa70ad8020336cd264063316" +source = "git+https://github.com/fluencelabs/rust-sdk#40774a1107573fc85f49fef6267721fbe32f599a" dependencies = [ "proc-macro2", "quote", @@ -490,9 +490,9 @@ dependencies = [ [[package]] name = "generic-array" -version = "0.14.2" +version = "0.14.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ac746a5f3bbfdadd6106868134545e684693d54d9d44f6e9588a7d54af0bf980" +checksum = "60fb4bb6bba52f78a471264d9a3b7d026cc0af47b22cd2cffbc0b787ca003e63" dependencies = [ "typenum", "version_check", @@ -1040,9 +1040,9 @@ checksum = "502d53007c02d7605a05df1c1a73ee436952781653da5d0bf57ad608f66932c1" [[package]] name = "syn" -version = "1.0.33" +version = "1.0.34" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e8d5d96e8cbb005d6959f119f773bfaebb5684296108fb32600c00cde305b2cd" +checksum = "936cae2873c940d92e697597c5eee105fb570cd5689c695806f672883653349b" dependencies = [ "proc-macro2", "quote", diff --git a/examples/greeting/wasm/Cargo.toml b/examples/greeting/wasm/Cargo.toml index e1117164..bf3c27ce 100644 --- a/examples/greeting/wasm/Cargo.toml +++ b/examples/greeting/wasm/Cargo.toml @@ -10,4 +10,4 @@ path = "src/lib.rs" crate-type = ["cdylib"] [dependencies] -fluence = { git = "https://github.com/fluencelabs/rust-sdk", features = ["debug"] } +fluence = { git = "https://github.com/fluencelabs/rust-sdk" } diff --git a/examples/greeting/wasm/artifacts/greeting.wasm b/examples/greeting/wasm/artifacts/greeting.wasm new file mode 100755 index 00000000..49fea6d0 Binary files /dev/null and b/examples/greeting/wasm/artifacts/greeting.wasm differ diff --git a/examples/ipfs_node/wasm/artifacts/ipfs_rpc.wasm b/examples/ipfs_node/wasm/artifacts/ipfs_rpc.wasm new file mode 100755 index 00000000..cb61b06e Binary files /dev/null and b/examples/ipfs_node/wasm/artifacts/ipfs_rpc.wasm differ diff --git a/examples/ipfs_node/wasm/artifacts/wasm_modules/ipfs_node.wasm b/examples/ipfs_node/wasm/artifacts/wasm_modules/ipfs_node.wasm index 2f1fe1ac..643af444 100644 Binary files a/examples/ipfs_node/wasm/artifacts/wasm_modules/ipfs_node.wasm and b/examples/ipfs_node/wasm/artifacts/wasm_modules/ipfs_node.wasm differ diff --git a/examples/ipfs_node/wasm/ipfs_node/Cargo.toml b/examples/ipfs_node/wasm/ipfs_node/Cargo.toml index 3b6d4790..db7b8d07 100644 --- a/examples/ipfs_node/wasm/ipfs_node/Cargo.toml +++ b/examples/ipfs_node/wasm/ipfs_node/Cargo.toml @@ -9,5 +9,5 @@ name = "ipfs_node" path = "src/main.rs" [dependencies] -fluence = { git = "https://github.com/fluencelabs/rust-sdk", features = ["debug"] } +fluence = { git = "https://github.com/fluencelabs/rust-sdk", features = ["logger"] } log = "0.4.8" diff --git a/examples/ipfs_node/wasm/ipfs_rpc/Cargo.toml b/examples/ipfs_node/wasm/ipfs_rpc/Cargo.toml index fc963554..0700dc1e 100644 --- a/examples/ipfs_node/wasm/ipfs_rpc/Cargo.toml +++ b/examples/ipfs_node/wasm/ipfs_rpc/Cargo.toml @@ -9,5 +9,5 @@ name = "ipfs_rpc" path = "src/main.rs" [dependencies] -fluence = { git = "https://github.com/fluencelabs/rust-sdk", features = ["debug"] } +fluence = { git = "https://github.com/fluencelabs/rust-sdk", features = ["logger"] } log = "0.4.8"