Function apply_license::parse_spdx[][src]

pub fn parse_spdx(
    license_expr: &str
) -> Result<Vec<&'static License>, ParseError>

Parse a list of license identifiers from an SPDX license expression.

The cargo manifest format allows combining license expressions with /, so we allow it as well, though it's not valid SPDX.