Skip to content

Commit 85ace8f

Browse files
committed
spdx: Adjust to breaking changes
1 parent ad617cd commit 85ace8f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/licenses.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
use spdx::{Expression, ParseError};
22

33
const PARSE_MODE: spdx::ParseMode = spdx::ParseMode {
4-
allow_lower_case_operators: false,
54
allow_slash_as_or_operator: true,
65
allow_imprecise_license_names: false,
76
allow_postfix_plus_on_gpl: true,
7+
allow_deprecated: true,
88
};
99

1010
pub fn parse_license_expr(s: &str) -> Result<Expression, ParseError> {

0 commit comments

Comments
 (0)