Crate viro

source ·
Expand description

Loads your environment so you don’t have to.

This is intended as a portable way to share environments between processes, particularly for loading scripts in /etc/profile.d.

This crate offers a simple way of serializing an environment and a binary that can both read environment variables from stdin and combine them into stdout.

See the Viro type for more details.

Structs§

  • An environment.
  • Iterator over the serialized byte-slices of an environment.