Module welcome
Source - Crate π
- CratesIoResponse π
- check_for_updates π
- Checks for updates to the crate, and prints a message if an update is available
- check_version π
- Given a possibly undefined version number, check if itβs present and supported
- get_env π
- Given a key, get the value from the environmental variables, and print it to the console
- get_latest_version π
- Gets the latest version of the crate from crates.io
- print_ascii_art π
- Prints the AdGuardian ASCII art to console
- print_error π
- Print error message, along with (optional) stack trace, then exit
- print_info π
- Reusable function that just prints success messages to the console
- verify_connection π
- With the users specified AdGuard details, verify the connection (exit on fail)
- welcome
- Initiate the welcome script
This function will: