1 Star 0 Fork 61

tupelo-shen/sysmaster

forked from openEuler/sysmaster 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
Cargo.toml 1.96 KB
一键复制 编辑 原始数据 按行查看 历史
hexiaowen 提交于 2022-11-01 11:02 . refactor: move libsysmaster to dir src
[package]
name = "sysmaster"
version = "0.2.2"
authors = ["sysmaster"]
edition = "2018"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[[bin]]
name = "sysmaster"
path = "src/sysmaster/main.rs"
[[bin]]
name = "pctrl"
path = "src/pctrl/main.rs"
[[bin]]
name = "init"
path = "src/init/main.rs"
[[bin]]
name = "fstab"
path = "src/fstab/main.rs"
[[bin]]
name = "random_seed"
path = "src/random_seed/main.rs"
[[bin]]
name = "sysmonitor"
path = "src/sysmonitor/main.rs"
[[bin]]
name = "rc-local-generator"
path = "src/rc-local-generator/main.rs"
[dependencies]
# internal libraries
libcgroup = { path = "libs/libcgroup" }
libevent = { path = "libs/libevent" }
libutils = { path = "libs/libutils" }
libsysmaster = { path = "src/libsysmaster" }
# third libraries
bitflags = "1.3.2"
clap = { version = "3.1.8", features = ["derive"] }
confique = { version = "0.1.3", default-features= false, features = [ 'toml' ] }
dynamic_reload = "0.4.0"
epoll = "4.3.1"
heed = "0.11.0"
http = "0.2" # 我们使用 HTTP status code 所以引入这个类型库
inotify = "0.10"
lazy_static = "1.4.0"
libc = "0.2.*"
libmount = "0.1.15"
log = "0.4"
nix = "0.24"
once_cell = { version = "1.5.2"}
procfs = "0.12.0"
prost = "0.9" # 处理 protobuf 的代码
regex = "1"
serde = "1.0.130"
serde_derive = "1.0.130"
signal-hook = "0.3.13"
signal-hook-registry = "1.4.0"
siphasher = { version = "0.3", features = ["serde"] }
strum = { version = "0.23", features = ["derive"] }
toml = "0.5.8"
walkdir = "2"
xattr = "0.2.3"
[build-dependencies]
prost-build = "0.9" # 编译 protobuf
[profile.dev]
panic = 'abort'
[profile.release]
panic = 'abort'
[workspace]
members = [
#internal libraries crates
"src/libsysmaster",
#external libraries crates
"libs/libcgroup",
"libs/libevent",
"libs/libutils",
"libs/libtests",
"libs/libwatchdog",
#components crates
"coms/service",
"coms/socket",
"coms/target",
"coms/mount",
]
exclude = [
"config",
"tools"
]
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Rust
1
https://gitee.com/tupeloshen/sysmaster.git
git@gitee.com:tupeloshen/sysmaster.git
tupeloshen
sysmaster
sysmaster
master

搜索帮助