import toml


def parse_toml_string(toml_string):
    """Parses a toml formatted string to a dictionary.

    Args:
        toml_string: (string) a toml formatted string

    Returns:
        A dictionary with parsed toml data fields.
    """
    return toml.loads(toml_string)