Expand description
Configuration management for AT Protocol identity operations.
Environment variable utilities, DNS nameserver configuration, and TLS certificate bundle management with structured error handling.
Structs§
- Certificate
Bundles - Certificate bundle paths for TLS verification. Contains a collection of file paths to certificate bundles.
- DnsNameservers
- DNS nameserver IP addresses for domain resolution. Contains a collection of IP addresses for custom DNS resolution.
Functions§
- default_
env - Gets an environment variable value with a fallback default. Returns the default value if the variable is not set.
- optional_
env - Gets an optional environment variable value. Returns empty string if the variable is not set.
- require_
env - Gets a required environment variable value. Returns an error if the variable is not set.
- version
- Gets the application version from git hash or package version. Returns the git hash if available, otherwise falls back to cargo package version.