pub fn parse_key_value(line: &str) -> Option<(String, String)>Expand description
What: Parse a key-value pair from a line.
Inputs:
line: Line containing key=value format
Output:
Some((key, value))if parsing succeeds,Noneotherwise
Details:
- Splits on the first
=character - Trims whitespace from both key and value