Skip to main content

read_key_from_dotenv

Function read_key_from_dotenv 

Source
pub fn read_key_from_dotenv() -> Option<String>
Expand description

Read MURK_KEY from .env file if present.

Checks for both export MURK_KEY=... and MURK_KEY=... forms. Returns the key value or None if not found.