[][src]Crate protonvpn

This crate is a rust port of the official ProtonVPN python cli. We aim for feature parity and to track changes from the official cli. This crate's only non-rust dependency is openvpn. You'll need to install it using your system's package manager.

This crate does not aim to have the same command line interface, or use the same config files / format.

Modules

cli

This module contains all the structs for storing args passed in from the command line.

constants

Assorted constants for use throughout the crate. Mostly strings and a map for looking up countries.

vpn

Functions for interacting with the openvpn binary, including starting / stopping a connection, and creating config files.

Functions

main

The main function in src.rs is a wrapper of this function.