mirror of
https://github.com/ilya-zlobintsev/LACT.git
synced 2025-02-25 18:55:26 -06:00
use amdgpu-sysfs from git
This commit is contained in:
1
Cargo.lock
generated
1
Cargo.lock
generated
@@ -26,6 +26,7 @@ dependencies = [
|
||||
[[package]]
|
||||
name = "amdgpu-sysfs"
|
||||
version = "0.7.0"
|
||||
source = "git+https://github.com/ilya-zlobintsev/amdgpu-sysfs-rs#104890e623a34537c05c0400275ca1a53e489a64"
|
||||
dependencies = [
|
||||
"enum_dispatch",
|
||||
"serde",
|
||||
|
||||
@@ -6,7 +6,9 @@ edition = "2021"
|
||||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
||||
|
||||
[dependencies]
|
||||
amdgpu-sysfs = { path = "../../amdgpu-sysfs-rs", features = ["serde"] }
|
||||
amdgpu-sysfs = { git = "https://github.com/ilya-zlobintsev/amdgpu-sysfs-rs", features = [
|
||||
"serde",
|
||||
] }
|
||||
anyhow = "1.0"
|
||||
bincode = "1.3"
|
||||
nix = "0.26"
|
||||
|
||||
@@ -4,7 +4,9 @@ version = "0.2.0"
|
||||
edition = "2021"
|
||||
|
||||
[dependencies]
|
||||
amdgpu-sysfs = { path = "../../amdgpu-sysfs-rs", features = ["serde"] }
|
||||
amdgpu-sysfs = { git = "https://github.com/ilya-zlobintsev/amdgpu-sysfs-rs", features = [
|
||||
"serde",
|
||||
] }
|
||||
serde = { version = "1.0", features = ["derive"] }
|
||||
indexmap = { version = "*", features = ["serde"] }
|
||||
|
||||
|
||||
@@ -4,17 +4,15 @@ mod response;
|
||||
#[cfg(test)]
|
||||
mod tests;
|
||||
|
||||
use amdgpu_sysfs::gpu_handle::PowerLevels;
|
||||
pub use request::Request;
|
||||
pub use response::Response;
|
||||
|
||||
pub use amdgpu_sysfs::{
|
||||
gpu_handle::{
|
||||
overdrive::{ClocksTable, ClocksTableGen},
|
||||
PerformanceLevel,
|
||||
PerformanceLevel, PowerLevels,
|
||||
},
|
||||
hw_mon::Temperature,
|
||||
};
|
||||
pub use request::Request;
|
||||
pub use response::Response;
|
||||
|
||||
use indexmap::IndexMap;
|
||||
use serde::{Deserialize, Serialize};
|
||||
|
||||
Reference in New Issue
Block a user