Skip to content

Commit 16055fc

Browse files
authored
Merge pull request #11722 from rust-lang/renovate/spdx-0.x
Update Rust crate spdx to v0.12.0
2 parents 098de18 + 85ace8f commit 16055fc

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

Cargo.lock

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ sentry = { version = "=0.42.0", features = ["tracing", "tower", "tower-axum-matc
121121
serde = { version = "=1.0.219", features = ["derive"] }
122122
serde_json = "=1.0.143"
123123
sha2 = "=0.10.9"
124-
spdx = "=0.10.9"
124+
spdx = "=0.12.0"
125125
tar = "=0.4.44"
126126
tempfile = "=3.21.0"
127127
thiserror = "=2.0.16"

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)