Skip to content

Commit

Permalink
feat(rust): Changes required for the chain-follower to pass CI. (#303)
Browse files Browse the repository at this point in the history
* fix(rust): Allow using our catalyst-mithril repo as a git dependency when required.

* fix(rust): Allow Zlib licensed crates

* fix(rust): Ignore `proc-macro-error` advisory because we can;t control what dependencies use it.

* fix(rust): Ignore proc-macro-error across all deny.toml files

* fix(rust): Sync deny.toml from stdcfg
  • Loading branch information
stevenj authored Sep 6, 2024
1 parent c44187f commit 94a7ea2
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 0 deletions.
3 changes: 3 additions & 0 deletions earthly/rust/stdcfgs/deny.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ version = 2
ignore = [
{ id = "RUSTSEC-2020-0168", reason = "`mach` is used by wasmtime and we have no control over that." },
{ id = "RUSTSEC-2021-0145", reason = "we don't target windows, and don't use a custom global allocator." },
{ id = "RUSTSEC-2024-0370", reason = "`proc-macro-error` is used by crates we rely on, we can't control what they use."},
]

[bans]
Expand Down Expand Up @@ -51,6 +52,7 @@ unknown-git = "deny"
allow-git = [
"https://github.com/input-output-hk/catalyst-libs.git",
"https://github.com/input-output-hk/catalyst-pallas.git",
"https://github.com/input-output-hk/catalyst-mithril.git",
"https://github.com/bytecodealliance/wasmtime",
"https://github.com/aldanor/hdf5-rust",
]
Expand All @@ -73,6 +75,7 @@ allow = [
"ISC",
"Unicode-3.0",
"MPL-2.0",
"Zlib",
]
exceptions = [
#{ allow = ["Zlib"], crate = "tinyvec" },
Expand Down
3 changes: 3 additions & 0 deletions examples/rust/deny.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ version = 2
ignore = [
{ id = "RUSTSEC-2020-0168", reason = "`mach` is used by wasmtime and we have no control over that." },
{ id = "RUSTSEC-2021-0145", reason = "we don't target windows, and don't use a custom global allocator." },
{ id = "RUSTSEC-2024-0370", reason = "`proc-macro-error` is used by crates we rely on, we can't control what they use."},
]

[bans]
Expand Down Expand Up @@ -51,6 +52,7 @@ unknown-git = "deny"
allow-git = [
"https://github.com/input-output-hk/catalyst-libs.git",
"https://github.com/input-output-hk/catalyst-pallas.git",
"https://github.com/input-output-hk/catalyst-mithril.git",
"https://github.com/bytecodealliance/wasmtime",
"https://github.com/aldanor/hdf5-rust",
]
Expand All @@ -73,6 +75,7 @@ allow = [
"ISC",
"Unicode-3.0",
"MPL-2.0",
"Zlib",
]
exceptions = [
#{ allow = ["Zlib"], crate = "tinyvec" },
Expand Down
3 changes: 3 additions & 0 deletions utilities/dbviz/deny.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ version = 2
ignore = [
{ id = "RUSTSEC-2020-0168", reason = "`mach` is used by wasmtime and we have no control over that." },
{ id = "RUSTSEC-2021-0145", reason = "we don't target windows, and don't use a custom global allocator." },
{ id = "RUSTSEC-2024-0370", reason = "`proc-macro-error` is used by crates we rely on, we can't control what they use."},
]

[bans]
Expand Down Expand Up @@ -51,6 +52,7 @@ unknown-git = "deny"
allow-git = [
"https://github.com/input-output-hk/catalyst-libs.git",
"https://github.com/input-output-hk/catalyst-pallas.git",
"https://github.com/input-output-hk/catalyst-mithril.git",
"https://github.com/bytecodealliance/wasmtime",
"https://github.com/aldanor/hdf5-rust",
]
Expand All @@ -73,6 +75,7 @@ allow = [
"ISC",
"Unicode-3.0",
"MPL-2.0",
"Zlib",
]
exceptions = [
#{ allow = ["Zlib"], crate = "tinyvec" },
Expand Down

0 comments on commit 94a7ea2

Please sign in to comment.