There have been a couple of attempts at this in the past, which had some usability warts in what I recall as an earlier, less useful set of features overall. Whether that was collective misunderstanding at the time, or things have gotten better since then, now is a good time to adopt the workspace dep syntax, because wezterm has many crates to keep on top of, and automation like dependabot can't see a lot of them. This will help to manage the versions of deps in wezterm centrally. Let's try this out in CI: the Cargo.lock changes here are minimal (eliminated a second version of base64 from one crate, terminal_size from another, and removed an explicit dep on serde_derive) so hopefully this sails through on !linux. closes: https://github.com/wezterm/wezterm/pull/6668
29 lines
623 B
TOML
29 lines
623 B
TOML
[package]
|
|
name = "procinfo"
|
|
version = "0.1.0"
|
|
edition = "2021"
|
|
publish = false
|
|
|
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
|
[features]
|
|
default = ["lua"]
|
|
lua = ["dep:luahelper", "dep:wezterm-dynamic"]
|
|
|
|
[dependencies]
|
|
libc.workspace = true
|
|
log.workspace = true
|
|
luahelper = { workspace=true, optional = true }
|
|
wezterm-dynamic = { workspace=true, optional = true }
|
|
|
|
[target."cfg(windows)".dependencies]
|
|
ntapi.workspace = true
|
|
winapi = { workspace=true, features = [
|
|
"handleapi",
|
|
"memoryapi",
|
|
"psapi",
|
|
"processthreadsapi",
|
|
"shellapi",
|
|
"tlhelp32",
|
|
]}
|
|
|