Skip to content

Commit

Permalink
Bug 1840022 - Switch phf_macros to syn 2. r=emilio,supply-chain-revie…
Browse files Browse the repository at this point in the history
…wers,nika

Differential Revision: https://phabricator.services.mozilla.com/D181855
  • Loading branch information
glandium committed Jun 24, 2023
1 parent 09e321a commit 16cada8
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 4 deletions.
4 changes: 1 addition & 3 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -165,6 +165,9 @@ rure = { path = "third_party/rust/rure" }
# num-derive 0.3.3 + https://github.com/rust-num/num-derive/pull/54
num-derive = { path = "third_party/rust/num-derive" }

# phf_macros 0.10.0 + https://github.com/rust-phf/rust-phf/pull/284
phf_macros = { path = "third_party/rust/phf_macros" }

# Other overrides
chardetng = { git = "https://github.com/hsivonen/chardetng", rev="3484d3e3ebdc8931493aa5df4d7ee9360a90e76b" }
chardetng_c = { git = "https://github.com/hsivonen/chardetng_c", rev="ed8a4c6f900a90d4dbc1d64b856e61490a1c3570" }
Expand Down
4 changes: 4 additions & 0 deletions supply-chain/config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,10 @@ audit-as-crates-io = false
[policy.peek-poke-derive]
audit-as-crates-io = false

[policy.phf_macros]
audit-as-crates-io = true
notes = "Local fork with a patch from https://github.com/rust-phf/rust-phf/pull/284"

[policy.pulse]
audit-as-crates-io = false
notes = "This is a first-party crate which is entirely unrelated to the crates.io package of the same name."
Expand Down
2 changes: 1 addition & 1 deletion third_party/rust/phf_macros/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ version = "1"
version = "1"

[dependencies.syn]
version = "1"
version = "2"
features = ["full"]

[dependencies.unicase_]
Expand Down

0 comments on commit 16cada8

Please sign in to comment.