Expand description
The Config module enables a configuration module Like a global API to access config details
Structs§
- Config
- Library input is the default API input The CLI turns its arguments into a LibraryInput struct The Config object is a default configuration object For the entire program It’s access using a variable like configuration
Functions§
- create_
default_ config_ file - Create a default config file at the specified path
- get_
config - Get the global config. This will return default config if the config wasn’t already initialized
- get_
config_ file_ into_ struct - Get configuration from file or create default if it doesn’t exist
- get_
config_ file_ path - Get the path to the Ares config file
- load_
wordlist - Loads a wordlist from a file into a HashSet for efficient lookups Uses memory mapping for large files to improve performance and memory usage
- set_
global_ config - To initialize global config with custom values