powerliners 0.2.9

1:1 Rust port of powerline/powerline. The ultimate statusline/prompt utility
Documentation
// vim:fileencoding=utf-8:noet
//! Features powerliners ships beyond the strict 1:1 port of
//! `powerline-status`. Sanctioned non-port location per `docs/PORT.md`.
//!
//! Currently houses:
//!
//! - [`mem_usage`] — 1:1 port of mKaloer's
//!   [`powerline_mem_segment`](https://github.com/mKaloer/powerline_mem_segment)
//!   plugin (`powerlinemem.mem_usage` Python module). Provides the 4
//!   adapter entrypoints the user's theme references by name:
//!     - `mem_usage`            → `USED/TOTAL` formatted bytes
//!     - `mem_usage_percent`    → `NN%` of total memory
//!     - `mem_swap`             → `USED/TOTAL` formatted swap bytes
//!     - `mem_swap_percentage`  → `NN%` of total swap
//!
//! These names are wired into `ADAPTERS` in
//! `src/bin/shared/render_runtime.rs` so the daemon's segment lookup
//! finds them without a Python `__import__` round-trip.
//!
//! - [`gpu`]        — `powerliners.gpu.{gpu_usage_percent,gpu_vram}`
//!   (vendor-dispatched: nvidia-smi → rocm-smi → ioreg → intel_gpu_top)
//! - [`disk`]       — `powerliners.disk.{disk_usage,disk_usage_percent,disk_io}`
//! - [`thermal`]    — `powerliners.thermal.thermal` (CPU/GPU temp + fan RPM)
//! - [`docker`]     — `powerliners.docker.containers` (running/total/images
//!   via `docker ps` / OCI-compatible CLI)
//! - [`k8s`]        — `powerliners.k8s.kubecontext` (current kubectl
//!   context + active namespace, honors KUBECONFIG cascade)
//! - [`proc_count`] — `powerliners.proc.process_count` (POSIX `ps -eo
//!   stat=` tally by state code: running/sleeping/zombie/dwait/stopped)
//! - [`wthr_extensions`] — IP-based geolocation + on-disk
//!   location cache for the weather segment. Upstream powerline takes
//!   `location_query` only; these helpers let the segment render
//!   without an explicit query and survive transient lookup failures.
//!   Imported by `src/ported/segments/common/wthr.rs`.

pub mod bundled_config;
pub mod diag_log;
pub mod disk;
pub mod docker;
pub mod exec_segment;
pub mod git_status;
pub mod gpu;
pub mod icons;
pub mod k8s;
pub mod mem_usage;
pub mod proc_count;
pub mod thermal;
pub mod wthr_extensions;