Expand description
Library entry points for tino.
tino is primarily a command-line tool: a tiny init process (PID 1) for
Docker, Kubernetes, and other container workloads. The library surface is
intentionally small and mirrors the binary’s runtime behavior.
The main entry point is run, which executes a parsed Cli value.
Linux-specific restrictions such as Landlock are configured through CLI
flags and follow the same semantics as the tino binary.
§Example
use tino::{Cli, run};
let cli = Cli::parse_from(["tino", "--", "/usr/bin/sleep", "10"]);
let exit_code = run(cli)?;This crate is binary-first. Internal helper APIs are not part of the stable public interface unless they are explicitly documented here.
Macros§
Structs§
Enums§
- Write
Preset - Parsed
tinocommand-line configuration.
Constants§
- LICENSE_
TEXT - Bundled project license text.