From daeaefdfac6a62363bea142c1ea99fd1f3cbb543 Mon Sep 17 00:00:00 2001 From: Lennard Kittner Date: Sun, 17 Aug 2025 23:00:13 +0200 Subject: [PATCH] Add hidapi as submodule --- .gitmodules | 3 +++ Cargo.toml | 2 +- vendor/hidapi | 1 + 3 files changed, 5 insertions(+), 1 deletion(-) create mode 100644 .gitmodules create mode 160000 vendor/hidapi diff --git a/.gitmodules b/.gitmodules new file mode 100644 index 0000000..69a7268 --- /dev/null +++ b/.gitmodules @@ -0,0 +1,3 @@ +[submodule "vendor/hidapi"] + path = vendor/hidapi + url = git@github.com:ruabmbua/hidapi-rs.git diff --git a/Cargo.toml b/Cargo.toml index 6ebe3f0..6e437b1 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -7,7 +7,7 @@ description = "A CLI and tray application for monitoring and managing HyperX hea [dependencies] clap = { version = "4.5.32", features = ["derive"] } -hidapi = "2.3.3" +hidapi = { path = "vendor/hidapi" } thistermination = "1.0.0" [target.'cfg(target_os = "linux")'.dependencies] ksni = "0.2.0" diff --git a/vendor/hidapi b/vendor/hidapi new file mode 160000 index 0000000..009df08 --- /dev/null +++ b/vendor/hidapi @@ -0,0 +1 @@ +Subproject commit 009df084a952454b3cbd5a63b8666b1017ab1a9f