From 45688af5482beb2bfd2a9f3d63402f1416d4f315 Mon Sep 17 00:00:00 2001
From: salixor <salixor@pm.me>
Date: Tue, 30 Jul 2024 01:19:52 +0200
Subject: [PATCH] Use mmsticks's commit for GPU clocks offsets

---
 Cargo.lock | 6 ++----
 Cargo.toml | 4 +---
 2 files changed, 3 insertions(+), 7 deletions(-)

diff --git a/Cargo.lock b/Cargo.lock
index 45f1eed..d3bdb1e 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -81,8 +81,7 @@ dependencies = [
 [[package]]
 name = "nvml-wrapper"
 version = "0.10.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "0c9bff0aa1d48904a1385ea2a8b97576fbdcbc9a3cfccd0d31fe978e1c4038c5"
+source = "git+https://github.com/mmstick/nvml-wrapper?branch=offset#f8fefdebd6408fc07efe38d492fb9fcb329ffc79"
 dependencies = [
  "bitflags",
  "libloading",
@@ -95,8 +94,7 @@ dependencies = [
 [[package]]
 name = "nvml-wrapper-sys"
 version = "0.8.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "698d45156f28781a4e79652b6ebe2eaa0589057d588d3aec1333f6466f13fcb5"
+source = "git+https://github.com/mmstick/nvml-wrapper?branch=offset#f8fefdebd6408fc07efe38d492fb9fcb329ffc79"
 dependencies = [
  "libloading",
 ]
diff --git a/Cargo.toml b/Cargo.toml
index 095e9c6..fdbd910 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -3,7 +3,5 @@ name = "nvidia-performance-adjust"
 version = "0.1.0"
 edition = "2021"
 
-# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
-
 [dependencies]
-nvml-wrapper = "0.10.0"
+nvml-wrapper = { git = "https://github.com/mmstick/nvml-wrapper", branch = "offset" }
-- 
GitLab