Skip to content

Commit

Permalink
chore(deps): bumps (#136)
Browse files Browse the repository at this point in the history
  • Loading branch information
DaniPopes authored Aug 15, 2024
1 parent d4eaaf3 commit bbeb352
Show file tree
Hide file tree
Showing 6 changed files with 14 additions and 24 deletions.
13 changes: 6 additions & 7 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 Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 5,7 @@ resolver = "2"
[workspace.package]
version = "0.5.4"
edition = "2021"
rust-version = "1.70"
rust-version = "1.80"
authors = [
"Rohit Narurkar <[email protected]>",
"Matthias Seitz <[email protected]>",
Expand Down
2 changes: 1 addition & 1 deletion clippy.toml
Original file line number Diff line number Diff line change
@@ -1 1 @@
msrv = "1.70"
msrv = "1.80"
14 changes: 3 additions & 11 deletions crates/svm-rs/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -24,17 24,12 @@ path = "src/bin/solc/main.rs"
required-features = ["solc"]

[build-dependencies]
vergen = { version = "8", optional = true, features = [
"build",
"git",
"gitcl",
] }
vergen = { version = "8", optional = true, features = ["build", "git", "gitcl"] }

[dependencies]
fs4 = "0.8"
fs4 = "0.9"
hex.workspace = true
dirs = "5.0"
once_cell = "1.17"
reqwest = { workspace = true, default-features = false, features = ["json"] }
semver = { workspace = true, features = ["serde"] }
serde = { workspace = true, features = ["derive"] }
Expand All @@ -50,10 45,7 @@ console = { version = "0.15", default-features = false, optional = true }
dialoguer = { version = "0.11", default-features = false, optional = true }
indicatif = { version = "0.17", default-features = false, optional = true }
itertools = { version = "0.13", optional = true }
tokio = { version = "1", features = [
"rt-multi-thread",
"macros",
], optional = true }
tokio = { version = "1", features = ["rt-multi-thread", "macros"], optional = true }

[target.'cfg(all(target_os = "windows", target_arch = "x86_64"))'.dependencies]
zip = { version = "2", default-features = false, features = ["deflate"] }
Expand Down
2 changes: 1 addition & 1 deletion crates/svm-rs/src/install.rs
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 115,7 @@ fn do_install(version: &Version, binbytes: &[u8], _artifact: &str) -> Result<Pat

/// Creates the file and locks it exclusively, this will block if the file is currently locked
fn try_lock_file(lock_path: PathBuf) -> Result<LockFile, SvmError> {
use fs4::FileExt;
use fs4::fs_std::FileExt;
let _lock_file = fs::OpenOptions::new()
.create(true)
.truncate(true)
Expand Down
5 changes: 2 additions & 3 deletions crates/svm-rs/src/releases.rs
Original file line number Diff line number Diff line change
@@ -1,9 1,8 @@
use crate::{error::SvmError, platform::Platform};
use once_cell::sync::Lazy;
use reqwest::get;
use semver::Version;
use serde::{Deserialize, Serialize};
use std::collections::BTreeMap;
use std::{collections::BTreeMap, sync::LazyLock};
use url::Url;

// Updating new releases:
Expand All @@ -24,7 23,7 @@ const OLD_VERSION_MAX: Version = Version::new(0, 4, 9);

const OLD_VERSION_MIN: Version = Version::new(0, 4, 0);

static OLD_SOLC_RELEASES: Lazy<Releases> = Lazy::new(|| {
static OLD_SOLC_RELEASES: LazyLock<Releases> = LazyLock::new(|| {
serde_json::from_str(include_str!("../list/linux-arm64-old.json"))
.expect("could not parse list linux-arm64-old.json")
});
Expand Down

0 comments on commit bbeb352

Please sign in to comment.