use-os
Facade crate for primitive RustUse OS-facing vocabulary.
use-os re-exports the focused crates in this set behind short module names. It is not an operating-system abstraction framework, runtime, process runner, scheduler, thread pool, shell, task runner, CLI framework, or replacement for Rust std.
use-cli owns human command-line interaction primitives. use-os owns lower-level OS-facing vocabulary used beneath tools, services, and runtimes.
use ;
let family: OsFamily = "windows".parse.unwrap;
let architecture: Architecture = "amd64".parse.unwrap;
let triple = new.unwrap;
let pair = new;
assert_eq!;
assert_eq!;
assert_eq!;
assert_eq!;
This crate does not detect platforms, execute commands, inspect processes, create threads, or read or mutate environment variables.