Skip to main content

read_table_key

Function read_table_key 

Source
pub fn read_table_key(text: &str, table: &str, key: &str) -> Option<String>
Expand description

Parse key = value out of any [table] of a cargo config text.

Only the exact table is scanned (until the next header line); a trailing comment is stripped and surrounding quotes are removed.