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