forked from MaterializeInc/materialize
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdeny.toml
159 lines (141 loc) · 3.95 KB
/
deny.toml
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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
[bans]
multiple-versions = "deny"
# Do not add exemptions for duplicate dependencies! Duplicate dependencies slow
# down compilation and bloat the binary. Submit PRs upstream to remove
# duplicated transitive dependencies. If necessary, use patch directives in the
# root Cargo.toml to point at a Materialize-maintained fork that avoids the
# duplicated transitive dependencies.
# Use `tracing` instead.
[[bans.deny]]
name = "env_logger"
# Use `prost` or `protobuf-native` instead.
[[bans.deny]]
name = "protobuf"
# Strum has suspect code quality and includes many unneeded features. Use
# more targeted enum macro crates, e.g. `enum-kinds`.
[[bans.deny]]
name = "strum"
[[bans.deny]]
name = "strum-macros"
[[bans.deny]]
name = "log"
wrappers = [
"deadpool-postgres",
"env_logger",
"fail",
"globset",
"jsonpath_lib",
"mio",
"native-tls",
"opentls",
"os_info",
"postgres",
"pprof",
"prost-build",
# TODO(guswynn): switch to tracing in rdkafka
"rdkafka",
"reqwest",
"tokio-postgres",
"tokio-tungstenite",
"tokio-util",
"tracing-log",
"tracing",
"tungstenite",
"want",
"wasm-bindgen-backend",
]
# We prefer the system's native TLS or OpenSSL to Rustls, since they are more
# mature and more widely used.
[[bans.deny]]
name = "rustls"
# once_cell is going to be added to std, and doesn't use macros
# Unfortunately, its heavily used, so we have lots of exceptions.
[[bans.deny]]
name = "lazy_static"
wrappers = [
"aws-arn",
"aws-http",
"bindgen",
"bstr",
"clap",
"console",
"criterion",
"crossbeam-epoch",
"crossbeam-utils",
"fail",
"findshlibs",
"indicatif",
"mysql_async",
"mysql_common",
"native-tls",
"opentelemetry",
"procfs",
"prometheus",
"proptest",
"prost-build",
"rayon-core",
"reqwest",
"schannel",
"sharded-slab",
"tracing-core",
"tracing-log",
"tracing-subscriber",
"wasm-bindgen-backend",
"which",
]
# The `uncased` crate serves the same purpose as `unicase` and is more
# actively maintained.
[[bans.deny]]
name = "unicase"
wrappers = ["mime_guess"]
[licenses]
allow = [
"Apache-2.0",
"CC0-1.0",
"0BSD",
"BSD-2-Clause",
"BSD-3-Clause",
"ICU",
"ISC",
"MIT",
"Zlib",
]
copyleft = "deny"
private = { ignore = true }
[[licenses.clarify]]
name = "ring"
expression = "ISC"
license-files = [
{ path = "LICENSE", hash = 0xbd0eed23 }
]
[sources]
unknown-git = "deny"
unknown-registry = "deny"
allow-git = [
# Waiting for a new release of strip-ansi-escapes that avoids the indirect
# dependency on arrayvec v0.5.2 via a dependency on vte v0.10.1.
"https://github.com/alacritty/vte",
# Waiting for a new release that bumps to itoa v1.0.
# See: https://github.com/BurntSushi/rust-csv/issues/271
"https://github.com/BurntSushi/rust-csv.git",
# Waiting on criterion v0.4, which upgrades to clap v3.
"https://github.com/MaterializeInc/criterion.rs.git",
# Waiting on https://github.com/open-telemetry/opentelemetry-rust/pull/783
# to make it into a release.
"https://github.com/MaterializeInc/opentelemetry-rust.git",
# Waiting on https://github.com/AltSysrq/proptest/pull/264.
"https://github.com/MaterializeInc/proptest.git",
# Works around https://github.com/tokio-rs/prost/issues/653.
"https://github.com/MaterializeInc/prost.git",
# Waiting on https://github.com/sfackler/rust-postgres/pull/752.
"https://github.com/MaterializeInc/rust-postgres.git",
"https://github.com/MaterializeInc/rust-postgres-array.git",
# Waiting on https://github.com/MaterializeInc/serde-value/pull/35.
"https://github.com/MaterializeInc/serde-value.git",
# Dependencies that we control upstream whose official releases we don't
# care about.
"https://github.com/frankmcsherry/columnation",
"https://github.com/TimelyDataflow/timely-dataflow",
"https://github.com/TimelyDataflow/differential-dataflow.git",
"https://github.com/fede1024/rust-rdkafka.git",
]