Adding runas library as a dependency

Run this command in a terminal, in your project's directory:

cargo add runas

To add it manually, edit your project's Cargo.toml file and add to the [dependencies] section:

runas = "1.2.0"

The runas library will be automatically available globally. Read the runas library documentation.

Back to the crate overview.