Skip to content

Commit 1f51248

Browse files
authored
Merge pull request #1914 from polywrap/fix-ci-oct-3
chore: fix CI
2 parents 587b147 + f7dcc4b commit 1f51248

3 files changed

Lines changed: 5 additions & 5 deletions

File tree

WRAP_TEST_HARNESS

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
kris/test-wrap-rust-2
1+
master

packages/templates/app/rust/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ include = [
1111
]
1212

1313
[dependencies]
14-
polywrap = { version = "~0.1.8" }
14+
polywrap = { version = "~0.1.9-beta.2" }
1515
serde = {version = "1.0.145", features = ["derive"]}
1616

1717
[dev-dependencies]

packages/templates/app/rust/src/lib.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,14 @@ use wrap::types::*;
66
pub fn main() {
77
let ipfs_provider = "https://ipfs.io";
88
let cid = "Qmc5gCcjYypU7y28oCALwfSvxCBskLuPKWpK4qpterKC7z";
9-
let ipfs = IpfsModule::new(None, None, None);
9+
let ipfs = Ipfs::new(None);
1010

11-
let data = ipfs.cat(&IpfsModuleArgsCat{
11+
let data = ipfs.cat(&IpfsArgsCat{
1212
cid: cid.to_string(),
1313
ipfs_provider: ipfs_provider.to_string(),
1414
timeout: None,
1515
cat_options: None
16-
}, None, None, None).unwrap();
16+
}, None).unwrap();
1717

1818
assert_eq!(data, ByteBuf::from("Hello World!\r\n".as_bytes().to_vec()));
1919
}

0 commit comments

Comments
 (0)