mirror of
https://github.com/ClementTsang/bottom
synced 2024-11-25 21:50:20 +00:00
deps: update nvml to 0.8.0 (#869)
This commit is contained in:
parent
342d0da729
commit
e6e1e9d688
3 changed files with 9 additions and 9 deletions
12
Cargo.lock
generated
12
Cargo.lock
generated
|
@ -936,9 +936,9 @@ checksum = "21a41fed9d98f27ab1c6d161da622a4fa35e8a54a8adc24bbf3ddd0ef70b0e50"
|
|||
|
||||
[[package]]
|
||||
name = "libloading"
|
||||
version = "0.6.7"
|
||||
version = "0.7.3"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "351a32417a12d5f7e82c368a66781e307834dae04c6ce0cd4456d52989229883"
|
||||
checksum = "efbc0f03f9a775e9f6aed295c6a1ba2253c5757a9e03d55c6caa46a681abcddd"
|
||||
dependencies = [
|
||||
"cfg-if",
|
||||
"winapi",
|
||||
|
@ -1144,9 +1144,9 @@ dependencies = [
|
|||
|
||||
[[package]]
|
||||
name = "nvml-wrapper"
|
||||
version = "0.7.0"
|
||||
version = "0.8.0"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "4f6fb95ab904553d1b8914d340cadd0b34bee1cc984668eaa096a018f04ed8b8"
|
||||
checksum = "288bd66a5a56d8c97b178412b328419b3fdec261c0cbc4628ddc49cc16db8fc6"
|
||||
dependencies = [
|
||||
"bitflags",
|
||||
"libloading",
|
||||
|
@ -1158,9 +1158,9 @@ dependencies = [
|
|||
|
||||
[[package]]
|
||||
name = "nvml-wrapper-sys"
|
||||
version = "0.5.0"
|
||||
version = "0.6.0"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "4be195fa681ad2a9c903a866bc3f97f174333f04fb7b9e7c1f2413452f698484"
|
||||
checksum = "d3d606d4edf766969f16828ec047ca9aa96652a17bd353dc0613bfaca49b61d6"
|
||||
dependencies = [
|
||||
"libloading",
|
||||
]
|
||||
|
|
|
@ -76,7 +76,7 @@ indexmap = "1.8.1"
|
|||
itertools = "0.10.3"
|
||||
kstring = { version = "2.0.0", features = ["arc"] }
|
||||
log = { version = "0.4.16", optional = true }
|
||||
nvml-wrapper = { version = "0.7.0", optional = true }
|
||||
nvml-wrapper = { version = "0.8.0", optional = true }
|
||||
once_cell = "1.5.2"
|
||||
regex = "1.5.5"
|
||||
serde = { version = "1.0.136", features = ["derive"] }
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
use nvml_wrapper::{error::NvmlError, NVML};
|
||||
use nvml_wrapper::{error::NvmlError, Nvml};
|
||||
use once_cell::sync::Lazy;
|
||||
pub static NVML_DATA: Lazy<Result<NVML, NvmlError>> = Lazy::new(NVML::init);
|
||||
pub static NVML_DATA: Lazy<Result<Nvml, NvmlError>> = Lazy::new(Nvml::init);
|
||||
|
|
Loading…
Reference in a new issue