-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathdeny.toml
More file actions
32 lines (26 loc) · 1.12 KB
/
deny.toml
File metadata and controls
32 lines (26 loc) · 1.12 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# Project policies.
#
# These policies can be enforced using `cargo deny check`.
[licenses]
# In cargo-deny 0.16.0+, all licenses are denied by default unless explicitly
# allowed. This means unlicensed code, copyleft licenses, and AGPL are
# automatically denied since they're not in the allow list.
# Allow common non-restrictive licenses.
allow = ["MIT", "Apache-2.0", "BSD-3-Clause", "CC0-1.0", "Unicode-3.0"]
# Also fine to allow. ISC is used for various DNS and crypto things, and it's a
# minimally restrictive open source license.
#
# "BSD-2-Clause", "ISC", "OpenSSL", "Zlib"
[bans]
# Do we want to know about multiple versions of the same dependency?
multiple-versions = "allow"
deny = [
# Tools using Postgres C libraries are not permitted in this repository,
# because they require special build machinery that this repository does
# not support.
{ name = "libpq-sys" },
# OpenSSL has caused endless deployment and build problems, and we want
# nothing to do with it. It is definitely not permitted in this repository,
# because our build system does not support it.
{ name = "openssl-sys" },
]