17 Star 3 Fork 8

openEuler/hmir

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
Cargo.toml 1.64 KB
一键复制 编辑 原始数据 按行查看 历史
Z&N 提交于 2024-10-23 18:24 . 集成psutil,提供cpu info接口
[package]
name = "hmir"
version = "0.1.0"
edition = "2021"
authors = ["Wujie Duan <dev17001@linx-info.com>"]
license = "Apache-2.0"
repository = "https://gitee.com/openeuler/hmir"
homepage = "https://gitee.com/openeuler/hmir"
description = "Host management in rust "
readme = "README.md"
[dependencies]
psutil= "3.2.1"
anyhow = "1.0.66"
single-instance = "0.3.3"
constants = {path = "constants"}
log4rs = "1.2.0"
log = "0.4.17"
clap = "3.2.23"
tokio = { version = "1.16", features = ["full"] }
tokio-stream = { version = "0.1", features = ["sync"] }
jsonrpsee = { version = "0.15.1", features = ["full"] }
jsonrpsee-core = "0.15.1"
jsonrpsee-types = "0.15.1"
futures = "0.3"
lazy_static = "1.4.0"
serde_json = "1.0.87"
serde = { version = "1.0.147", features = ["derive"] }
nix = "0.25.0"
core_affinity = "0.7.6"
ssh2 = "0.9.3"
pam = "0.7.0"
cfg = "0.5.0"
#tensorflow = {path = "tensorflow-rust", version="0.19.1"}
#clickhouse = "0.11.2"
udev = "^0.7.0"
regex = "1.7.0"
sysinfo = "0.27.1"
chrono = "0.4.31"
hmir-hash = {path = "hmir-hash" }
hmir-ovs = {path = "hmir-ovs" }
hmir-ceph = {path = "hmir-ceph" }
hmir-token = {path = "hmir-token"}
hmir-errno = {path = "hmir-errno"}
hmir-protocol = { path = "hmir-protocol"}
hmir-sysinfo = { path = "hmir-sysinfo"}
hmir-psutil = {path = "hmir-psutil" }
[target.'cfg(target_os="linux")'.dependencies]
procfs = "0.14.1"
hmir-systemd = {path = "hmir-systemd" }
iptables = "0.5.0"
hmir-ipmitool = { path = "hmir-ipmitool"}
hmir-virt = {path = "hmir-virt"}
#hmir-dpkg = {path = "hmir-dpkg"}
[dev-dependencies]
#clickhouse = { version = "0.11.2", features = ["test-util"] }
[[test]]
name = "integration"
path = "tests/tests.rs"
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/openeuler/hmir.git
git@gitee.com:openeuler/hmir.git
openeuler
hmir
hmir
master

搜索帮助