Skip to content

Commit 9ac6185

Browse files
committed
security: cargo deny check
1 parent 7ea150b commit 9ac6185

2 files changed

Lines changed: 47 additions & 0 deletions

File tree

Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ repository = "https://github.com/apalis-dev/apalis-pgmq"
77
license-file = "LICENSE"
88
description = "Background task processing for rust using apalis and pgmq"
99
readme = "README.md"
10+
license = "PostgreSQL"
1011
homepage = "https://github.com/apalis-dev/apalis-pgmq"
1112
documentation = "https://docs.rs/apalis-pgmq"
1213
keywords = ["apalis", "postgres", "messages", "queue", "worker"]

deny.toml

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
[graph]
2+
exclude-unpublished = true
3+
4+
[advisories]
5+
unmaintained = "none"
6+
ignore = []
7+
8+
[licenses]
9+
confidence-threshold = 0.8
10+
allow = [
11+
"PostgreSQL",
12+
"Apache-2.0",
13+
"BSD-3-Clause",
14+
"MIT",
15+
"Unicode-3.0",
16+
"Zlib",
17+
"ISC",
18+
"CDLA-Permissive-2.0",
19+
]
20+
21+
[bans]
22+
multiple-versions = "deny"
23+
highlight = "all"
24+
skip-tree = [
25+
{ name = "windows_x86_64_msvc" },
26+
{ name = "windows_x86_64_gnullvm" },
27+
{ name = "windows_x86_64_gnu" },
28+
{ name = "windows_i686_msvc" },
29+
{ name = "windows_i686_gnullvm" },
30+
{ name = "windows_i686_gnu" },
31+
{ name = "windows_aarch64_msvc" },
32+
{ name = "windows_aarch64_gnullvm" },
33+
{ name = "windows-targets" },
34+
{ name = "windows-sys" },
35+
# TODO: @geofmureithi Investigate why these are causing issues possibly due to sqlx dependencies
36+
{ name = "getrandom" },
37+
{ name = "hashbrown" },
38+
{ name = "rand" },
39+
{ name = "rand_chacha" },
40+
{ name = "rand_core" },
41+
]
42+
43+
[sources]
44+
unknown-registry = "warn"
45+
unknown-git = "warn"
46+
allow-git = []

0 commit comments

Comments
 (0)