This commit makes a number of parts of wezterm's core parsing functionality no_std compatible, but requiring alloc. In the no_std environment, several lookup tables that would normally have been used to accelerate some operations are not available and we instead fall back to an O(n) operation.
29 lines
640 B
TOML
29 lines
640 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, features=["std"]}
|
|
|
|
[target."cfg(windows)".dependencies]
|
|
ntapi.workspace = true
|
|
winapi = { workspace=true, features = [
|
|
"handleapi",
|
|
"memoryapi",
|
|
"psapi",
|
|
"processthreadsapi",
|
|
"shellapi",
|
|
"tlhelp32",
|
|
]}
|
|
|