Skip to content

Commit

Permalink
dev(bump_rust): Bump rust to 1.83
Browse files Browse the repository at this point in the history
  • Loading branch information
akhercha committed Dec 10, 2024
1 parent ee0ad25 commit b851fb2
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 9 deletions.
4 changes: 2 additions & 2 deletions rust/Cargo.lock

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

6 changes: 3 additions & 3 deletions rust/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
[package]
name = "hyperlane-starknet"
version = "0.0.2"
version = "0.0.3"
authors = [
"byeongsu-hong <[email protected]>",
"Eric <[email protected]>",
"Steve <[email protected]>",
"Pragma <[email protected]>",
]
edition = "2021"
license = "Apache-2.0"
Expand Down Expand Up @@ -34,8 +35,7 @@ crate-type = ["cdylib", "rlib"]
[dependencies]
starknet = "0.10.0"

[dev_dependencies]

[dev-dependencies]
# starknet
cainome = { git = "https://github.com/cartridge-gg/cainome", tag = "v0.2.9", features = [
"abigen-rs",
Expand Down
9 changes: 7 additions & 2 deletions rust/build.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
use std::{collections::HashMap, env::current_dir, path::{PathBuf, Path}, fs};
use ethers::prelude::Abigen;
use std::{
collections::HashMap,
env::current_dir,
fs,
path::{Path, PathBuf},
};

fn check_path_exists(path: &Path) {
if !path.exists() {
Expand Down Expand Up @@ -55,7 +60,7 @@ fn generate_strk_bind(name: &str, abi_file: &str, bind_out: PathBuf) {
abigen
.generate()
.expect("Fail to generate bindings")
.write_to_file(&bind_out.to_str().expect("valid utf8 path"))
.write_to_file(bind_out.to_str().expect("valid utf8 path"))
.expect("Fail to write bindings to file");
}

Expand Down
2 changes: 1 addition & 1 deletion rust/rust-toolchain.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[toolchain]
channel = "1.78.0"
channel = "1.83.0"
components = ["rustfmt", "clippy", "rust-analyzer"]
targets = ["wasm32-unknown-unknown"]
profile = "minimal"
2 changes: 1 addition & 1 deletion scripts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
},
"keywords": [],
"author": "",
"license": "ISC",
"license": "MIT",
"dependencies": {
"@types/node": "^22.0.2",
"commander": "^12.1.0",
Expand Down

0 comments on commit b851fb2

Please sign in to comment.