Skip to content

Commit

Permalink
chore: update dependencies and set MSRV (filecoin-project#50)
Browse files Browse the repository at this point in the history
This commit updates to the latest dependencies that don't lead to
breaking changes. It also sets the minimum supported Rust version.
It's version 1.62.1 due to the `temp-env` dependency.
  • Loading branch information
vmx authored Apr 13, 2023
1 parent f87d8e3 commit 17c313d
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
5 changes: 3 additions & 2 deletions ec-gpu-gen/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ description = "Code generator for field and eliptic curve operations on the GPUs
homepage = "https://github.com/filecoin-project/ff-cl-gen"
repository = "https://github.com/filecoin-project/ff-cl-gen"
license = "MIT/Apache-2.0"
rust-version = "1.62.1"

[dependencies]
bitvec = "1.0.1"
Expand All @@ -20,7 +21,7 @@ log = "0.4.14"
num_cpus = "1.13.0"
once_cell = "1.8.0"
rayon = "1.5.1"
rust-gpu-tools = { version = "0.6.1", default-features = false, optional = true }
rust-gpu-tools = { version = "0.7.0", default-features = false, optional = true }
sha2 = "0.10"
thiserror = "1.0.30"
yastl = "0.1.2"
Expand All @@ -34,7 +35,7 @@ blstrs = { version = "0.6.0", features = ["__private_bench", "gpu"] }
rand = "0.8"
lazy_static = "1.2"
pairing = "0.22.0"
temp-env = "0.2.0"
temp-env = "0.3.0"
rand_core = "0.6.3"
rand_xorshift = "0.3.0"

Expand Down
2 changes: 1 addition & 1 deletion ec-gpu-gen/src/source.rs
Original file line number Diff line number Diff line change
Expand Up @@ -737,7 +737,7 @@ mod tests {
#[cfg(feature = "opencl")]
impl opencl::KernelArgument for GpuScalar {
fn push(&self, kernel: &mut opencl::Kernel) {
kernel.builder.set_arg(&self.0);
unsafe { kernel.builder.set_arg(&self.0) };
}
}

Expand Down
2 changes: 1 addition & 1 deletion rust-toolchain
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.59.0
1.62.1

0 comments on commit 17c313d

Please sign in to comment.