forked from VOICEVOX/voicevox_core
-
Notifications
You must be signed in to change notification settings - Fork 0
/
deny.toml
195 lines (178 loc) · 12.5 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
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
targets = [
{ triple = "x86_64-pc-windows-msvc" },
{ triple = "i686-pc-windows-msvc" },
{ triple = "x86_64-unknown-linux-gnu" },
{ triple = "aarch64-apple-darwin" },
{ triple = "x86_64-apple-darwin" },
]
[bans]
multiple-versions = "allow"
# 更新方法は https://github.com/VOICEVOX/voicevox_core/pull/328/files#r1024148598
allow-build-scripts = [
{ name = "ahash", version = "0.7" }, # https://docs.rs/crate/ahash/0.7/source/build.rs
{ name = "anyhow", version = "1" }, # https://docs.rs/crate/anyhow/1/source/build.rs
{ name = "async-io", version = "1" }, # https://docs.rs/crate/async-io/1/source/build.rs
{ name = "async-trait", version = "0.1" }, # https://docs.rs/crate/async-trait/0.1/source/build.rs
{ name = "backtrace", version = "0.3" }, # https://docs.rs/crate/backtrace/0.3/source/build.rs
{ name = "bindgen", version = "0.60" }, # https://docs.rs/crate/bindgen/0.60/source/build.rs
{ name = "cbindgen", version = "0.24" }, # https://docs.rs/crate/cbindgen/0.24/source/build.rs
{ name = "const_fn", version = "0.4" }, # https://docs.rs/crate/const_fn/0.4/source/build.rs
{ name = "cookie", version = "0.14" }, # https://docs.rs/crate/cookie/0.14/source/build.rs
{ name = "core-foundation-sys", version = "0.8" }, # https://docs.rs/crate/core-foundation-sys/0.8.3/source/build.rs
{ name = "crc32fast", version = "1" }, # https://docs.rs/crate/crc32fast/1/source/build.rs
{ name = "crossbeam-epoch", version = "0.9" }, # https://docs.rs/crate/crossbeam-epoch/0.9.13/source/build.rs
{ name = "crossbeam-utils", version = "0.8" }, # https://docs.rs/crate/crossbeam-utils/0.8/source/build.rs
{ name = "curl", version = "0.4" }, # https://docs.rs/crate/curl/0.4/source/build.rs
{ name = "doc-comment", version = "0.3" }, # https://docs.rs/crate/doc-comment/0.3.3/source/build.rs
{ name = "encoding_rs", version = "0.8" }, # https://docs.rs/crate/encoding_rs/0.8/source/build.rs
{ name = "eyre", version = "0.6" }, # https://docs.rs/crate/eyre/0.6/source/build.rs
{ name = "futures-channel", version = "0.3" }, # https://docs.rs/crate/futures-channel/0.3/source/build.rs
{ name = "futures-core", version = "0.3" }, # https://docs.rs/crate/futures-core/0.3/source/build.rs
{ name = "futures-task", version = "0.3" }, # https://docs.rs/crate/futures-task/0.3/source/build.rs
{ name = "futures-util", version = "0.3" }, # https://docs.rs/crate/futures-util/0.3/source/build.rs
{ name = "httparse", version = "1" }, # https://docs.rs/crate/httparse/1.8.0/source/build.rs
{ name = "hyperx", version = "1" }, # https://docs.rs/crate/hyperx/1.4.0/source/build.rs
{ name = "generic-array", version = "0.14" }, # https://docs.rs/crate/generic-array/0.14/source/build.rs
{ name = "getrandom", version = "0.1" }, # https://docs.rs/crate/getrandom/0.1/source/build.rs
{ name = "http-types", version = "2" }, # https://docs.rs/crate/http-types/2/source/build.rs
{ name = "indexmap", version = "1" }, # https://docs.rs/crate/indexmap/1/source/build.rs
{ name = "io-lifetimes", version = "1" }, # https://docs.rs/crate/io-lifetimes/1.0.4/source/build.rs
{ name = "isahc", version = "0.9" }, # https://docs.rs/crate/isahc/0.9/source/build.rs
{ name = "libc", version = "0.2" }, # https://docs.rs/crate/libc/0.2/source/build.rs
{ name = "libm", version = "0.2" }, # https://docs.rs/crate/libm/0.2.6/source/build.rs
{ name = "lock_api", version = "0.4" }, # https://docs.rs/crate/lock_api/0.4/source/build.rs
{ name = "log", version = "0.4" }, # https://docs.rs/crate/log/0.4/source/build.rs
{ name = "memchr", version = "2" }, # https://docs.rs/crate/memchr/2/source/build.rs
{ name = "memoffset", version = "0.6" }, # https://docs.rs/crate/memoffset/0.6/source/build.rs
{ name = "memoffset", version = "0.7" }, # https://docs.rs/crate/memoffset/0.7.1/source/build.rs
{ name = "mime_guess", version = "2" }, # https://docs.rs/crate/mime_guess/2/source/build.rs
{ name = "num-bigint", version = "0.4" }, # https://docs.rs/crate/num-bigint/0.4.3/source/build.rs
{ name = "num-integer", version = "0.1" }, # https://docs.rs/crate/num-integer/0.1/source/build.rs
{ name = "num-traits", version = "0.2" }, # https://docs.rs/crate/num-traits/0.2/source/build.rs
{ name = "onnxruntime", version = "=0.1.0" }, # https://github.com/VOICEVOX/onnxruntime-rs/blob/405f62fb53df1b59b0e69adafbd1c28e4d5c2787/onnxruntime/build.rs
{ name = "parking_lot_core", version = "0.9" }, # https://docs.rs/crate/parking_lot_core/0.9/source/build.rs
{ name = "polling", version = "2" }, # https://docs.rs/crate/polling/2/source/build.rs
{ name = "portable-atomic", version = "0.3" }, # https://docs.rs/crate/portable-atomic/0.3.19/source/build.rs
{ name = "proc-macro-error", version = "1" }, # https://docs.rs/crate/proc-macro-error/1/source/build.rs
{ name = "proc-macro-error-attr", version = "1" }, # https://docs.rs/crate/proc-macro-error-attr/1/source/build.rs
{ name = "proc-macro-hack", version = "0.5" }, # https://docs.rs/crate/proc-macro-hack/0.5/source/build.rs
{ name = "proc-macro2", version = "1" }, # https://docs.rs/crate/proc-macro2/1/source/build.rs
{ name = "pyo3", version = "0.17" }, # https://docs.rs/crate/pyo3/0.17/source/build.rs
{ name = "pyo3-build-config", version = "0.17" }, # https://docs.rs/crate/pyo3-build-config/0.17/source/build.rs
{ name = "quote", version = "1" }, # https://docs.rs/crate/quote/1/source/build.rs
{ name = "rayon-core", version = "1" }, # https://docs.rs/crate/rayon-core/1.10.1/source/build.rs
{ name = "rstest_macros", version = "0.14" }, # https://docs.rs/crate/rstest_macros/0.14/source/build.rs
{ name = "rustix", version = "0.36" }, # https://docs.rs/crate/rustix/0.36.7/source/build.rs
{ name = "rustls", version = "0.20" }, # https://docs.rs/crate/rustls/0.20/source/build.rs
{ name = "rustversion", version = "1" }, # https://docs.rs/crate/rustversion/1.0.11/source/build/build.rs
{ name = "semver", version = "1" }, # https://docs.rs/crate/semver/1/source/build.rs
{ name = "serde", version = "1" }, # https://docs.rs/crate/serde/1/source/build.rs
{ name = "serde_derive", version = "1" }, # https://docs.rs/crate/serde_derive/1/source/build.rs
{ name = "serde_json", version = "1" }, # https://docs.rs/crate/serde_json/1/source/build.rs
{ name = "slab", version = "0.4" }, # https://docs.rs/crate/slab/0.4/source/build.rs
{ name = "standback", version = "0.2" }, # https://docs.rs/crate/standback/0.2.0/source/build.rs
{ name = "syn", version = "1" }, # https://docs.rs/crate/syn/1.0.0/source/build.rs
{ name = "target-lexicon", version = "0.12" }, # https://docs.rs/crate/target-lexicon/0.12.0/source/build.rs
{ name = "thiserror", version = "1" }, # https://docs.rs/crate/thiserror/1.0.0/source/build.rs
{ name = "time", version = "0.2" }, # https://docs.rs/crate/time/0.2/source/build.rs
{ name = "tokio", version = "1" }, # https://docs.rs/crate/tokio/1.24.1/source/build.rs
{ name = "typenum", version = "1" }, # https://docs.rs/crate/typenum/1/source/src/__private/build.rs
{ name = "unicase", version = "2" }, # https://docs.rs/crate/unicase/2/source/build.rs
{ name = "value-bag", version = "1.0.0-alpha.9" }, # https://docs.rs/crate/value-bag/1.0.0-alpha.9/source/build.rs
{ name = "voicevox_core" }, # ./crates/voicevox_core/build.rs
{ name = "voicevox_core_c_api" }, # ./crates/voicevox_core_c_api/build.rs
{ name = "voicevox_core_python_api" }, # ./crates/voicevox_core_python_api/build.rs
{ name = "wasm-bindgen", version = "0.2" }, # https://docs.rs/crate/wasm-bindgen/0.2/source/build.rs
{ name = "wasm-bindgen-shared", version = "0.2" }, # https://docs.rs/crate/wasm-bindgen-shared/0.2/source/build.rs
{ name = "winapi", version = "0.3" }, # https://docs.rs/crate/winapi/0.3/source/build.rs
{ name = "windows_i686_msvc", version = "0.36" }, # https://docs.rs/crate/windows_i686_msvc/0.36/source/build.rs
{ name = "windows_i686_msvc", version = "0.42" }, # https://docs.rs/crate/windows_i686_msvc/0.42.0/source/build.rs
{ name = "windows_x86_64_msvc", version = "0.36" }, # https://docs.rs/crate/windows_x86_64_msvc/0.36/source/build.rs
{ name = "windows_x86_64_msvc", version = "0.42" }, # https://docs.rs/crate/windows_x86_64_msvc/0.42.0/source/build.rs
{ name = "winreg", version = "0.10" }, # https://docs.rs/crate/winreg/0.10.1/source/build.rs
{ name = "zstd-safe", version = "5" }, # https://docs.rs/crate/zstd-safe/5.0.2/source/build.rs
# https://docs.rs/crate/bzip2-sys/0.1/source/build.rs
#
# bzip is licensed under: https://sourceware.org/git/?p=bzip2.git;a=history;f=LICENSE
{ name = "bzip2-sys", version = "0.1" },
# https://docs.rs/crate/clang-sys/1/source/build.rs
#
# libclang is licensed under `Apache-2.0 WITH LLVM-exception` (https://raw.githubusercontent.com/llvm/llvm-project/main/llvm/LICENSE.TXT)
{ name = "clang-sys", version = "1" },
# https://docs.rs/crate/curl-sys/0.4.0/source/build.rs
#
# Curl is licensed under `curl` (https://github.com/curl/curl/blob/master/COPYING)
{ name = "curl-sys", version = "0.4" },
# https://docs.rs/crate/libnghttp2-sys/0.1/source/build.rs
#
# libnghttp2 is licensed under `MIT` (https://docs.rs/crate/libnghttp2-sys/0.1/source/nghttp2/COPYING)
{ name = "libnghttp2-sys", version = "0.1" },
# https://docs.rs/crate/libz-sys/1/source/build.rs
#
# zlib is licensed under `Zlib` (https://docs.rs/crate/libz-sys/1/source/src/zlib/zlib.h)
# zlib-ng is licensed under `Zlib` (https://docs.rs/crate/libz-sys/1/source/src/zlib-ng/LICENSE.md)
{ name = "libz-sys", version = "1" },
# https://docs.rs/crate/link-cplusplus/1/source/build.rs
#
# link-cplusplus links libc++ and libstdc++
{ name = "link-cplusplus", version = "1" },
# https://github.com/VOICEVOX/onnxruntime-rs/blob/bee215aaf6d5e346d96e0724acd02a51f612a72e/onnxruntime-sys/build.rs
#
# ONNX Runtime is licensed under `MIT` (https://github.com/microsoft/onnxruntime/blob/v1.11.1/LICENSE)
{ name = "onnxruntime-sys", version = "=0.0.25" },
# https://github.com/VOICEVOX/open_jtalk-rs/blob/c77112b470874a6a963426ed6c2fb21f12394a78/crates/open_jtalk-sys/build.rs
#
# Open JTalk is licensed under: https://github.com/VOICEVOX/open_jtalk/blob/1.11/src/COPYING
{ name = "open_jtalk-sys", version = "0.16" },
# https://docs.rs/crate/openssl-sys/0.9/source/build/main.rs
#
# OpenSSL is licensed under `OpenSSL` (https://github.com/sfackler/rust-openssl/blob/44528bb7c908884fe68f1622d968c295fcae2667/THIRD_PARTY)
{ name = "openssl-sys", version = "0.9" },
# https://docs.rs/crate/pyo3-ffi/0.17/source/build.rs
#
# pyo3-ffi **dynamically** links Python, which is licensed under: https://docs.python.org/3/license.html
{ name = "pyo3-ffi", version = "0.17" },
# https://docs.rs/crate/ring/0.16.0/source/build.rs
#
# ring inherits licenses of C libraries: https://docs.rs/crate/ring/0.16.0/source/LICENSE
{ name = "ring", version = "0.16" },
# https://docs.rs/crate/wepoll-ffi/0.1.0/source/build.rs
#
# wepoll-ffi inherits licenses of C libraries: https://docs.rs/crate/wepoll-ffi/0.1.0/source/NOTICE
{ name = "wepoll-ffi", version = "0.1" },
# https://docs.rs/crate/zstd-sys/1/source/build.rs
#
# libzstd is licensed under `GPL-2.0+ OR BSD-3-Clause` (https://github.com/facebook/zstd/blob/v1.5.2/lib/zstd.h#L1-L9)
{ name = "zstd-sys", version = "2" },
]
[sources]
unknown-registry = "deny"
unknown-git = "deny"
allow-org = { github = [
"VOICEVOX",
"wesleywiser", # https://github.com/VOICEVOX/voicevox_core/issues/437#issuecomment-1465078889
] }
[licenses]
allow = [
"Apache-2.0 WITH LLVM-exception",
"Apache-2.0",
"BSD-2-Clause",
"BSD-3-Clause",
"CC0-1.0",
"ISC",
"MIT",
"MPL-2.0",
"OpenSSL",
"Unicode-DFS-2016",
]
clarify = [
{ name = "ring", version = "0.16", expression = "MIT AND ISC AND OpenSSL", license-files = [{ path = "LICENSE", hash = 0xbd0eed23 }] },
# TODO: `package.license`を書く
{ name = "downloader", expression = "MIT", license-files = [] },
{ name = "open_jtalk", expression = "BSD-3-Clause", license-files = [] },
{ name = "open_jtalk-sys", expression = "BSD-3-Clause", license-files = [] },
{ name = "voicevox_core", expression = "MIT", license-files = [] },
{ name = "voicevox_core_c_api", expression = "MIT", license-files = [] },
{ name = "voicevox_core_python_api", expression = "MIT", license-files = [] },
{ name = "xtask", expression = "MIT", license-files = [] },
]