pub fn is_system_package(name: &str) -> boolExpand description
What: Identify whether a dependency belongs to a curated list of critical system packages.
Inputs:
name: Package name to compare against the predefined system set.
Output:
truewhen the package is considered a core system component; otherwisefalse.
Details:
- Used to highlight packages whose removal or downgrade should be discouraged.
- Checks against a curated list of critical system packages.
- Uses exact string matching (case-sensitive).
ยงExample
use arch_toolkit::deps::is_system_package;
if is_system_package("glibc") {
println!("glibc is a critical system package");
}