From 0978d3bebdc5d136852f31a61a6764f7f92ebdaf Mon Sep 17 00:00:00 2001 From: illuzen Date: Sat, 13 Dec 2025 16:21:28 +0800 Subject: [PATCH] fmt --- crates/engine-gpu/Cargo.toml | 9 ++++----- crates/engine-gpu/src/main.rs | 2 +- crates/miner-service/Cargo.toml | 2 +- 3 files changed, 6 insertions(+), 7 deletions(-) diff --git a/crates/engine-gpu/Cargo.toml b/crates/engine-gpu/Cargo.toml index 41f662a..531c4c8 100644 --- a/crates/engine-gpu/Cargo.toml +++ b/crates/engine-gpu/Cargo.toml @@ -32,12 +32,11 @@ qp-plonky2 = { version = "1.1.1" } qp-plonky2-field = { version = "1.1.1" } - -wgpu = { version = "27.0.1" } # GPU compute library -futures = "0.3" # For async executor -bytemuck = "1.16" # For buffer mapping +wgpu = { version = "27.0.1" } # GPU compute library +futures = "0.3" # For async executor +bytemuck = "1.16" # For buffer mapping rand = { workspace = true, features = ["std", "std_rng"] } -rand_chacha = "0.3" # For deterministic random test generation +rand_chacha = "0.3" # For deterministic random test generation [dev-dependencies] hex = { workspace = true } diff --git a/crates/engine-gpu/src/main.rs b/crates/engine-gpu/src/main.rs index 64cf107..0d921e0 100644 --- a/crates/engine-gpu/src/main.rs +++ b/crates/engine-gpu/src/main.rs @@ -5,8 +5,8 @@ use qp_plonky2_field::types::{Field, PrimeField64}; use wgpu::{self, util::DeviceExt}; -mod tests; mod end_to_end_tests; +mod tests; fn u8_array_to_u32_array(bytes: &[u8; 96]) -> [u32; 24] { let mut result = [0u32; 24]; diff --git a/crates/miner-service/Cargo.toml b/crates/miner-service/Cargo.toml index 5119425..ac8f33d 100644 --- a/crates/miner-service/Cargo.toml +++ b/crates/miner-service/Cargo.toml @@ -32,7 +32,7 @@ thiserror = { workspace = true } anyhow = { workspace = true } reqwest = { version = "0.11", features = ["json"] } quinn = "0.10" -rustls = { version = "0.21", default-features = false, features = ["quic", "dangerous_configuration"] } +rustls = { version = "0.21", default-features = false, features = ["dangerous_configuration", "quic"] } # Protocol types from the node repo (keep API compatibility) quantus-miner-api = { workspace = true }