Skip to content

Commit

Permalink
Build fixes (#1137)
Browse files Browse the repository at this point in the history
* Fix clippy

* Use rust-tls
  • Loading branch information
tarrencev authored Nov 2, 2023
1 parent 6078ba1 commit 3c9f109
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 99 deletions.
97 changes: 0 additions & 97 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion crates/torii/core/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ hex.workspace = true
lazy_static.workspace = true
log = "0.4.17"
once_cell.workspace = true
reqwest = { version = "0.11.22", features = [ "blocking" ] }
reqwest = { version = "0.11.22", features = [ "blocking", "rustls-tls" ], default-features = false }
scarb-ui.workspace = true
serde.workspace = true
serde_json.workspace = true
Expand Down
2 changes: 1 addition & 1 deletion crates/torii/core/src/model.rs
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ impl ModelSQLReader {
let layout = hex::decode(layout).unwrap();
let layout = layout.iter().map(|e| FieldElement::from(*e)).collect();

Ok(Self { name: name.clone(), class_hash, pool, packed_size, unpacked_size, layout })
Ok(Self { name, class_hash, pool, packed_size, unpacked_size, layout })
}
}

Expand Down

0 comments on commit 3c9f109

Please sign in to comment.