Skip to content

Commit 391b2b5

Browse files
d-e-s-odanielocfb
authored andcommitted
Fix Audit workflow
Recent runs of the Audit workflow failed, citing a missing license of the vmlinux crate. At this point we don't intend to publish it or shit it and it really is only meant to be used as a dev-dependency. Mark the crate as unpublishable in its Cargo.toml and instruct cargo-deny to ignore such crates in its evaluation. Signed-off-by: Daniel Müller <[email protected]>
1 parent ae5f913 commit 391b2b5

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

deny.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ exceptions = [
167167
# published to private registries.
168168
# To see how to mark a crate as unpublished (to the official registry),
169169
# visit https://doc.rust-lang.org/cargo/reference/manifest.html#the-publish-field.
170-
ignore = false
170+
ignore = true
171171
# One or more private registries that you might publish crates to, if a crate
172172
# is only published to private registries, and ignore is true, the crate will
173173
# not have its license(s) checked

vmlinux/Cargo.toml

+5
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,8 @@ name = "vmlinux"
33
version = "0.0.0"
44
edition = "2021"
55
authors = ["Daniel Müller <[email protected]>"]
6+
# Not intended to be published at this point and only meant to be used as a
7+
# dev-dependency; licensing is not 100% clear but more importantly we can't
8+
# really version the crate in a way that would be generally useful to downstream
9+
# users (version by kernel version? "just" semver? none is without problems).
10+
publish = false

0 commit comments

Comments
 (0)