2022-01-01 05:30:52 +03:00
|
|
|
[package]
|
|
|
|
name = "procinfo"
|
|
|
|
version = "0.1.0"
|
|
|
|
edition = "2021"
|
|
|
|
|
|
|
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
2022-09-02 02:01:15 +03:00
|
|
|
[features]
|
|
|
|
default = ["lua"]
|
|
|
|
lua = ["dep:luahelper", "dep:wezterm-dynamic"]
|
2022-01-01 05:30:52 +03:00
|
|
|
|
|
|
|
[dependencies]
|
|
|
|
libc = "0.2"
|
2022-04-20 19:43:56 +03:00
|
|
|
log = "0.4"
|
2022-09-02 02:01:15 +03:00
|
|
|
luahelper = { path = "../luahelper", optional = true }
|
|
|
|
wezterm-dynamic = { path = "../wezterm-dynamic", optional = true }
|
2022-01-01 05:30:52 +03:00
|
|
|
|
|
|
|
[target."cfg(windows)".dependencies]
|
2022-12-20 01:23:11 +03:00
|
|
|
ntapi = "0.4"
|
2022-01-01 05:30:52 +03:00
|
|
|
winapi = { version = "0.3", features = [
|
|
|
|
"handleapi",
|
|
|
|
"memoryapi",
|
|
|
|
"psapi",
|
|
|
|
"processthreadsapi",
|
2022-06-23 12:23:40 +03:00
|
|
|
"shellapi",
|
2022-01-01 05:30:52 +03:00
|
|
|
"tlhelp32",
|
|
|
|
]}
|
|
|
|
|