tpt-linux2026
Rust10 deep-tech Rust libraries filling the missing plumbing of the Linux ecosystem — power management, HDR/VRR compositing, eBPF kernel testing, memory tiering, firmware parsing, pro-audio DSP, SAT-based dependency solving, and AI log diagnostics. MIT/Apache-2.0.
Languages
tpt-linux2026
A foundational Cargo workspace of deeply technical, pure-Rust Linux system libraries — the missing plumbing for distro maintainers, Wayland compositor developers, and system administrators.
Status: Active development. See
todo.mdfor the phased roadmap andDESIGN.mdfor the architecture.
Workspace layout
tpt-linux2026/
├── internal/ # Private, unpublished utility crates
│ ├── tpt-l-ebpf-common/ # Shared eBPF macros and helpers (Aya)
│ ├── tpt-l-sys-bindings/ # Shared bindgen C-headers (DRM, KMS, Kernel)
│ └── tpt-l-math-core/ # Shared SAT + color-space math (no_std)
├── crates/ # The 10 public libraries
│ ├── tpt-l-sat-solver/ # CDCL SAT solver + distro dep resolution
│ ├── tpt-l-firmware-archaeologist/ # ACPI / UEFI / Intel ME parsers
│ ├── tpt-l-volt-orchestrator/ # eBPF event-driven power management
│ ├── tpt-l-pager-thermo/ # userfaultfd + eBPF memory tiering
│ ├── tpt-l-sandbox-bpf/ # LSM BPF sandbox
│ ├── tpt-l-wayland-hdr-vrr-kit/ # HDR / VRR KMS kit
│ ├── tpt-l-kprobe-harness/ # kprobe test/mock harness (triple-licensed)
│ ├── tpt-l-pipe-weaver/ # Lock-free PipeWire DSP graph
│ ├── tpt-l-journal-oracle/ # systemd-journal + local LLM diagnostics
│ └── tpt-l-drift-trace/ # fanotify/auditd → Nix/Guix migration
└── bindings/ # Optional PyO3 wrappers
├── tpt-l-sat-solver-py/
├── tpt-l-firmware-archaeologist-py/
└── tpt-l-journal-oracle-py/
Design principles
- Pure Rust core — every crate is
#![forbid(unsafe_op_in_unsafe_fn)]safe at its public surface;unsafeis confined to a singleffi.rs/bindings.rsmodule per FFI crate. - Dual license —
MIT OR Apache-2.0everywhere, excepttpt-l-kprobe-harness, which isMIT OR Apache-2.0 OR GPL-2.0for kernel module compatibility. - No Tokio in the kernel path — real-time/eBPF crates stay async-runtime
agnostic or
no_stdwhere possible.
Building
cargo build --workspace
cargo test --workspace
Kernel-adjacent crates compile on Linux targets; the algorithmic crates
(tpt-l-sat-solver, tpt-l-firmware-archaeologist, tpt-l-math-core) build and
test on any platform.
License
Licensed under either of MIT or
Apache-2.0 at your option.
See LICENSE-GPL-2.0 for the tpt-l-kprobe-harness
exception.