diff --git a/.github/workflows/cargo-deny.yml b/.github/workflows/cargo-deny.yml index cf2ae2e3d..2107653d0 100644 --- a/.github/workflows/cargo-deny.yml +++ b/.github/workflows/cargo-deny.yml @@ -1,10 +1,7 @@ name: cargo-deny on: push: - pull_request: -defaults: - run: - shell: bash + - main jobs: cargo-deny: runs-on: ubuntu-20.04 @@ -13,11 +10,6 @@ jobs: - name: Install cargo-binstall uses: taiki-e/install-action@cargo-binstall - name: Install cargo-deny - run: cargo binstall cargo-deny@^0.14 --no-confirm --log-level debug + run: cargo binstall cargo-deny@^0.16 --no-confirm --log-level debug - name: cargo-deny - run: | - if ${{ !!github.event.release }}; then - cargo deny --all-features check - else - cargo deny --all-features check -W denied - fi + run: cargo deny --all-features check diff --git a/deny.toml b/deny.toml index 38e915eb7..6864ccc31 100644 --- a/deny.toml +++ b/deny.toml @@ -1,172 +1,147 @@ +[graph] targets = [ { triple = "x86_64-pc-windows-msvc" }, { triple = "i686-pc-windows-msvc" }, { triple = "x86_64-unknown-linux-gnu" }, + { triple = "aarch64-unknown-linux-gnu" }, + { triple = "aarch64-linux-android" }, + { triple = "x86_64-linux-android" }, { triple = "aarch64-apple-darwin" }, { triple = "x86_64-apple-darwin" }, + { triple = "aarch64-apple-ios" }, + { triple = "aarch64-apple-ios-sim" }, + { triple = "x86_64-apple-ios" }, ] [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 +[bans.build] + # deny build scripts that are not listed in `bypass` +allow-build-scripts = [ + # FIXME: build/main.rsのような場所に置くと駄目なのか、`bypass`からは認識してくれない + # SHA256: b4dd86261a70df757efa53f06ce7543a4dc9c51178b9b023c92069fddee97a29 + { name = "typenum", version = "1" }, # https://docs.rs/crate/typenum/1.15.0/source/build/main.rs +] +bypass = [ + { name = "ahash", version = "0.8", build-script = "23cbf4cf1b742e2c4da8bc58d06d1d021479dec80cec6a0bc3704c7172e2864a" }, # https://docs.rs/crate/ahash/0.8.1/source/build.rs + { name = "anyhow", version = "1", build-script = "1de78cc91e63321318aa336cb550e3acdcda9b39f0648436a884d783247cfcd2" }, # https://docs.rs/crate/anyhow/1.0.89/source/build.rs + { name = "assert_cmd", version = "2", build-script = "367a36318cd9bb47aeb730f8a8ddad39c10b926175465393f0d5b01cbd993d44" }, # https://docs.rs/crate/assert_cmd/2.0.16/source/build.rs + { name = "async-trait", version = "0.1", build-script = "b45aa3a5c177cbeaeb4847163088924491ac27b79534f8ea4c53ed3e10c163ea" }, # https://docs.rs/crate/async-trait/0.1.57/source/build.rs + { name = "backtrace", version = "0.3", build-script = "8d5e860da109f86c67596b10b5613ff6d19f9d24c2970f491a55261fb1973692" }, # https://docs.rs/crate/backtrace/0.3.66/source/build.rs + { name = "bindgen", version = "0.62", build-script = "4a9c4ac3759572e17de312a9d3f4ced3b6fd3c71811729e5a8d06bfbd1ac8f82" }, # https://docs.rs/crate/bindgen/0.62.0/source/build.rs + { name = "bindgen", version = "0.69", build-script = "4a9c4ac3759572e17de312a9d3f4ced3b6fd3c71811729e5a8d06bfbd1ac8f82" }, # https://docs.rs/crate/bindgen/0.69.4/source/build.rs + { name = "camino", version = "1", build-script = "cbdfaa56ff8e211896e75fc7867e3230aa8aa09fdda901111db957c65306f1d8" }, # https://docs.rs/crate/camino/1.1.9/source/build.rs + { name = "caseless", version = "0.2", build-script = "8ab1dc9ef269f28202fe1156c5c655f286cbc03b6dd4fb20a2f9f9e00763b6f5" }, # https://docs.rs/crate/caseless/0.2.1/source/src/build.rs + { name = "cbindgen", version = "0.24", build-script = "8eb7cef3e6d0d5a56e94803931705fdcc37ee8b631e4eed9a9e026516c52499c" }, # https://docs.rs/crate/cbindgen/0.24.3/source/build.rs + { name = "core-foundation-sys", version = "0.8", build-script = "9433ed3b20cc99e716dda4c6d8507c29bc04882544cbbea8d4e48ba80fd0fa12" }, # https://docs.rs/crate/core-foundation-sys/0.8.3/source/build.rs + { name = "crc32fast", version = "1", build-script = "4ccc50c3da67eb27f0b622440d2b7aee2f73fa9c71884571f3c041122231d105" }, # https://docs.rs/crate/crc32fast/1.3.2/source/build.rs + { name = "crossbeam-epoch", version = "0.9", build-script = "901be3c21843440be5c456ff049f57f72ee5ec365918a772ad2a4751e52f69c5" }, # https://docs.rs/crate/crossbeam-epoch/0.9.13/source/build.rs + { name = "crossbeam-utils", version = "0.8", build-script = "4859f9c926c230023e861bf01c4b225b460035faf8cf6240108530efedbb747f" }, # https://docs.rs/crate/crossbeam-utils/0.8.2/source/build.rs + { name = "doc-comment", version = "0.3", build-script = "a342cd0a760b7e04b13406c5de82a9b6b39d9b8495a274c2f78d56d676aeca3a" }, # https://docs.rs/crate/doc-comment/0.3.3/source/build.rs + { name = "encoding_rs", version = "0.8", build-script = "9276ee24ef71433d46323c15296b3fbbb29c0b37c4b1ca45416587f14ba8e777" }, # https://docs.rs/crate/encoding_rs/0.8.31/source/build.rs + { name = "eyre", version = "0.6", build-script = "fbd0d04cc64884da6b65ad460084ad49e56f8a14fba24a256e161cb18b15441c" }, # https://docs.rs/crate/eyre/0.6.12/source/build.rs + { name = "fs-err", version = "2", build-script = "f1d5a299d68f91e26fbe9dd642dfcd00e122ec9cb999d4a4b38c6d7200fb9763" }, # https://docs.rs/crate/fs-err/2.11.0/source/build.rs + { name = "generic-array", version = "0.14", build-script = "08fa30c4a2c1ad24fe5f987e721dfb20131f45ea5b5dc3e836dcf88a8e33248c" }, # https://docs.rs/crate/generic-array/0.14.6/source/build.rs + { name = "html5ever", version = "0.27", build-script = "c3aa75b3b3dcea627b2158405b3ed597cab24f5b6220396f1ee9800e9fa40b7d" }, # https://docs.rs/crate/html5ever/0.27.0/source/build.rs + { name = "httparse", version = "1", build-script = "8ae7a55b0cca81a9997a151bd52e4658af9c6a5c176e65bbec532a20ab23360a" }, # https://docs.rs/crate/httparse/1.8.0/source/build.rs + { name = "indexmap", version = "1", build-script = "558b4d0b9e9b3a44f7e1a2b69f7a7567ea721cd45cb54f4e458e850bf702f35c" }, # https://docs.rs/crate/indexmap/1.9.1/source/build.rs + { name = "libc", version = "0.2", build-script = "e36af1b89db29ba25f301d5e572f2727f06590fcb27d9f535e90923c1ec34574" }, # https://docs.rs/crate/libc/0.2.159/source/build.rs + { name = "libm", version = "0.2", build-script = "2e1393133eb5f84f5a9278b3d68acb31552da924b0c1fdf77b4af583f82afb22" }, # https://docs.rs/crate/libm/0.2.6/source/build.rs + { name = "lock_api", version = "0.4", build-script = "af84139c71d151adead0b4398c394a7dd16087bb2db44b14a0ed970ce868a6c6" }, # https://docs.rs/crate/lock_api/0.4.9/source/build.rs + { name = "markup5ever", version = "0.12", build-script = "bd7d2c0e564d71953b40504081f934541c60270b78db6b1e59230cad73607462" }, # https://docs.rs/crate/markup5ever/0.12.1/source/build.rs + { name = "memoffset", version = "0.7", build-script = "6d677e33a1c98d588c97ec7985d4d5c3b954683e0a73c3dc53d79db4fbb5e638" }, # https://docs.rs/crate/memoffset/0.7.1/source/build.rs + { name = "memoffset", version = "0.9", build-script = "df34c830dbb08eba3474304eed481bc2c8a29e897bc50f46d37b5dbb6e443a2b" }, # https://docs.rs/crate/memoffset/0.9.0/source/build.rs + { name = "num-bigint", version = "0.4", build-script = "4955639b370d3636b8c44cb7743e6c5fb129077b069d78becbc135eba37e1ece" }, # https://docs.rs/crate/num-bigint/0.4.3/source/build.rs + { name = "num-integer", version = "0.1", build-script = "575b157527243fe355a7c8d7d874a1f790c3fb0177beba9032076a7803c5b9dd" }, # https://docs.rs/crate/num-integer/0.1.45/source/build.rs + { name = "num-traits", version = "0.2", build-script = "cf682b2322303196e241048cb56d873597b78a3b4e3f275f6f761dadb33a65f5" }, # https://docs.rs/crate/num-traits/0.2.15/source/build.rs + { name = "parking_lot_core", version = "0.9", build-script = "29e629057144d1238dcd8ea70ad6cbb6ec14ca742797af3fa9335710ff5cbaaa" }, # https://docs.rs/crate/parking_lot_core/0.9.3/source/build.rs + { name = "prettyplease", version = "0.2", build-script = "fdf8aa9b5441b298c72ae23645e227adc52ac69d2decc1bda04e1a91f70ff87d" }, # https://docs.rs/crate/prettyplease/0.2.17/source/build.rs + { name = "portable-atomic", version = "1", build-script = "0d5e11d1d1376259bbd99269b52728a5a7e3f93403d82fa4ee1cfbd11ed892dd" }, # https://docs.rs/crate/portable-atomic/1.9.0/source/build.rs + { name = "proc-macro-error", version = "1", build-script = "6238a0ad4f1146fbf55112419609e6449986154cf7ded1b5fdc978b06f4413b3" }, # https://docs.rs/crate/proc-macro-error/1.0.4/source/build.rs + { name = "proc-macro-error-attr", version = "1", build-script = "37b0aca3c4a14dfc050c2df38ae633311d7a1532cdbb8eb57182802c4a1983eb" }, # https://docs.rs/crate/proc-macro-error-attr/1.0.4/source/build.rs + { name = "proc-macro2", version = "1", build-script = "cf78c0005f11d54ca42dbaee77cb76a440e6fa2e0b64798d3f74c04770a0ad2b" }, # https://docs.rs/crate/proc-macro2/1.0.86/source/build.rs + { name = "proc-macro2-diagnostics", version = "0.10", build-script = "66fcc487972086f42011c84a1949861799dc7cfde1e56201d22cf8e71b59b8b1" }, # https://docs.rs/crate/proc-macro2-diagnostics/0.10.1/source/build.rs + { name = "pyo3", version = "0.20", build-script = "9d56905da256ac81e171d4cc6c07789f4cfba73a6fc32ed10e29a4f1f6b6f852" }, # https://docs.rs/crate/pyo3/0.20.3/source/build.rs + { name = "pyo3-build-config", version = "0.20", build-script = "905cbe245028aa0a6841ce7543dd8fc3e289872e7a630247d4fc81759fc938c3" }, # https://docs.rs/crate/pyo3-build-config/0.20.3/source/build.rs + { name = "rayon-core", version = "1", build-script = "fa31cb198b772600d100a7c403ddedccef637d2e6b2da431fa7f02ca41307fc6" }, # https://docs.rs/crate/rayon-core/1.12.1/source/build.rs + { name = "ref-cast", version = "1", build-script = "606c77f4c4497ccb44841cbf7c13bf7f0d46a887163f7476b77722accc04acae" }, # https://docs.rs/crate/ref-cast/1.0.23/source/build.rs + { name = "rstest_macros", version = "0.14", build-script = "d2973e71d6322a29cf96a47e957e60ed0ce83822878c436f22bda0d33253c5a6" }, # https://docs.rs/crate/rstest_macros/0.14.0/source/build.rs + { name = "rstest_reuse", version = "0.6", build-script = "c4db8df109a7a9870259a8e63ebceee46ea7eb64ab288433ca4dd3d512278086" }, # https://docs.rs/crate/rstest_reuse/0.6.0/source/build.rs + { name = "rustix", version = "0.38", build-script = "adc4bc868a30a902f328af6ebd0bfc72868b8e388beb13c6d69d826646931b17" }, # https://docs.rs/crate/rustix/0.38.37/source/build.rs + { name = "rustls", version = "0.20", build-script = "83af94fa10c4be7653b2b69e1a4656239ecf6fbdfc225341f10e1ec7121b383e" }, # https://docs.rs/crate/rustls/0.20.6/source/build.rs + { name = "rustls", version = "0.21", build-script = "83af94fa10c4be7653b2b69e1a4656239ecf6fbdfc225341f10e1ec7121b383e" }, # https://docs.rs/crate/rustls/0.21.7/source/build.rs + { name = "rustversion", version = "1", build-script = "a5ac3f88a152167bdf624d18346b6db6459828bdbd1162a275fcde9c36e3ade6" }, # https://docs.rs/crate/rustversion/1.0.11/source/build/build.rs + { name = "selectors", version = "0.25", build-script = "36ba09a8d2089d0cae8e310829ecf0e94bcbaa87e775a6578c7d2f0459a5b6ca" }, # https://docs.rs/crate/selectors/0.25.0/source/build.rs + { name = "semver", version = "1", build-script = "eedfc19afa205955347175916974cdad121b55cb940e40c61931e5e7629f0e65" }, # https://docs.rs/crate/semver/1.0.14/source/build.rs + { name = "serde", version = "1", build-script = "a98eaa82c783fdb4169d1646c06028ec5cb82937d39ee127ec8ed33651d2f238" }, # https://docs.rs/crate/serde/1.0.210/source/build.rs + { name = "serde_json", version = "1", build-script = "1630d0bbfc936b0975d840cec5cfb5910d861b6afeeeeabe11000a2c202d571d" }, # https://docs.rs/crate/serde_json/1.0.128/source/build.rs + { name = "slab", version = "0.4", build-script = "2c008232a3ae7c83c166f61c2942314717976776a4dba38e9063cd8e57a1b9bd" }, # https://docs.rs/crate/slab/0.4.7/source/build.rs + { name = "syn", version = "1", build-script = "b815649fd2929d3debd93a58f5da2fb8eba506047a6a5ba538347305828a87b0" }, # https://docs.rs/crate/syn/1.0.102/source/build.rs + { name = "target-lexicon", version = "0.12", build-script = "4716b4f955c7a4cb39cb3b7521c1745d5110c1cbd1e054bca906e37f5e974675" }, # https://docs.rs/crate/target-lexicon/0.12.4/source/build.rs + { name = "thiserror", version = "1", build-script = "14f51456047fbf92c32020daea746f15482a0832a752edbbe3e809075d97674b" }, # https://docs.rs/crate/thiserror/1.0.64/source/build.rs + { name = "typeid", version = "1", build-script = "688afbcaa398ea159c3481b26d74fde6ce3a675d48364d772557c8e91100de46" }, # https://docs.rs/crate/typeid/1.0.2/source/build.rs + { name = "winapi", version = "0.3", build-script = "fa1782968d33345772093666220c7841c2fb4f6dd32fa47951c68a3a400a1a98" }, # https://docs.rs/crate/winapi/0.3.9/source/build.rs + { name = "windows_i686_msvc", version = "0.36", build-script = "d5df812ba7add22771644473db37d7de40c1e7479a30f81ae3ccb0d7be3fabe4" }, # https://docs.rs/crate/windows_i686_msvc/0.36.1/source/build.rs + { name = "windows_i686_msvc", version = "0.42", build-script = "d5df812ba7add22771644473db37d7de40c1e7479a30f81ae3ccb0d7be3fabe4" }, # https://docs.rs/crate/windows_i686_msvc/0.42.2/source/build.rs + { name = "windows_i686_msvc", version = "0.52", build-script = "6d40bd2c0ed4cbea5126dfcd89d72f229c7d986540cbf0dc34acc1017f1de20f" }, # https://docs.rs/crate/windows_i686_msvc/0.52.6/source/build.rs + { name = "windows_x86_64_gnu", version = "0.52", build-script = "6d40bd2c0ed4cbea5126dfcd89d72f229c7d986540cbf0dc34acc1017f1de20f" }, # https://docs.rs/crate/windows_x86_64_msvc/0.52.6/source/build.rs + { name = "windows_x86_64_msvc", version = "0.36", build-script = "c801bf00de0978fd5252930993878c0b0eed65336c82c89289efaf9a9ad5ac22" }, # https://docs.rs/crate/windows_x86_64_msvc/0.36.1/source/build.rs + { name = "windows_x86_64_msvc", version = "0.42", build-script = "c801bf00de0978fd5252930993878c0b0eed65336c82c89289efaf9a9ad5ac22" }, # https://docs.rs/crate/windows_x86_64_msvc/0.42.2/source/build.rs + { name = "windows_x86_64_msvc", version = "0.52", build-script = "6d40bd2c0ed4cbea5126dfcd89d72f229c7d986540cbf0dc34acc1017f1de20f" }, # https://docs.rs/crate/windows_x86_64_msvc/0.52.6/source/build.rs + { name = "winreg", version = "0.10", build-script = "3d34e0c23f6c21e6da11fb0fc3aff792b8f30f3ecfbb6b4f536d0a70394e13e7" }, # https://docs.rs/crate/winreg/0.10.1/source/build.rs + { name = "zstd-safe", version = "5", build-script = "2342e59833e2ebca2980884d4f242a6bf1b0143037c212e05514626ad5213505" }, # https://docs.rs/crate/zstd-safe/5.0.2/source/build.rs + + # https://docs.rs/crate/bzip2-sys/0.1.11+1.0.8/source/build.rs # # bzip is licensed under: https://sourceware.org/git/?p=bzip2.git;a=history;f=LICENSE - { name = "bzip2-sys", version = "0.1" }, + { name = "bzip2-sys", version = "0.1", build-script = "5ea6bf7f9cfaa58d2fa4405309d77c9742de45bbc03af9c9f6f1a699b8b82281" }, - # https://docs.rs/crate/clang-sys/1/source/build.rs + # https://docs.rs/crate/clang-sys/1.6.0/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" }, + { name = "clang-sys", version = "1", build-script = "da53087156a235fe65cab1ee34e12d97b6c3e540e2c8e3ae9b2aeac71efcf1ce" }, - # 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 + # https://docs.rs/crate/link-cplusplus/1.0.7/source/build.rs # # link-cplusplus links libc++ and libstdc++ - { name = "link-cplusplus", version = "1" }, + { name = "link-cplusplus", version = "1", build-script = "1590afe3a11449e69028849ea8d5df9183e388c0b5ee50c322f3c4c9044917f8" }, - # https://github.com/VOICEVOX/onnxruntime-rs/blob/bee215aaf6d5e346d96e0724acd02a51f612a72e/onnxruntime-sys/build.rs + # https://docs.rs/crate/onig_sys/69.8.1/source/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" }, + # Oniguruma is licensed under `BSD-2-Clause`: https://docs.rs/crate/onig_sys/69.8.1/source/oniguruma/COPYING + { name = "onig_sys", version = "69", build-script = "c84df2a143d2ffb0fbb8f9f6102992f1b38f44037edbee74f2d364616ea4863f" }, - # https://github.com/VOICEVOX/open_jtalk-rs/blob/c77112b470874a6a963426ed6c2fb21f12394a78/crates/open_jtalk-sys/build.rs + # https://github.com/VOICEVOX/open_jtalk-rs/blob/e1940f3fd61a48bed5bbec8cd2645e13923b1f80/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" }, + { name = "open_jtalk-sys", version = "=0.16.111", build-script = "0dd3780d0500bb42759eb0e6bd2d00f1d5fc92fb6f47f2abe59af135d4353ee3" }, - # 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 + # https://docs.rs/crate/pyo3-ffi/0.20.3/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" }, + { name = "pyo3-ffi", version = "0.20", build-script = "8c72b9eff0d71295daef54a999fa0d0cf4700793cdb69c97065c65402016bcbc" }, - # https://docs.rs/crate/ring/0.16.0/source/build.rs + # https://docs.rs/crate/ring/0.16.20/source/build.rs # - # ring inherits licenses of C libraries: https://docs.rs/crate/ring/0.16.0/source/LICENSE - { name = "ring", version = "0.16" }, + # ring inherits licenses of C libraries: https://docs.rs/crate/ring/0.16.20/source/LICENSE + { name = "ring", version = "0.16", build-script = "1a850d791184374f614d01c86c8d6c9ba0500e64cb746edc9720ceaaa1cd8eaf" }, - # https://docs.rs/crate/wepoll-ffi/0.1.0/source/build.rs + # https://github.com/VOICEVOX/ort/blob/8627833456a69e7841ae2a29fd184752df8de8d9/ort-sys/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" }, + # ONNX Runtime is licensed under `MIT` (https://github.com/microsoft/onnxruntime/blob/v1.11.1/LICENSE) + { name = "voicevox-ort-sys", version = "=2.0.0-rc.4", build-script = "69dc8169473b04b8fbd9f0430a9b0c6057bc477fd4e971fe9d981173b073985c" }, - # https://docs.rs/crate/zstd-sys/1/source/build.rs + # https://docs.rs/crate/zstd-sys/2.0.9+zstd.1.5.5/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" }, + { name = "zstd-sys", version = "2", build-script = "f11bc2108439f43e6365bb21bb9d9142c0fac376a17702b04da7f19efdbb9b69" }, ] [sources] unknown-registry = "deny" unknown-git = "deny" -allow-org = { github = [ - "VOICEVOX", - "wesleywiser", # https://github.com/VOICEVOX/voicevox_core/issues/437#issuecomment-1465078889 -] } +allow-org.github = ["VOICEVOX"] [licenses] allow = [ @@ -180,6 +155,7 @@ allow = [ "MPL-2.0", "OpenSSL", "Unicode-DFS-2016", + "Zlib", ] clarify = [ { name = "ring", version = "0.16", expression = "MIT AND ISC AND OpenSSL", license-files = [{ path = "LICENSE", hash = 0xbd0eed23 }] }, @@ -188,8 +164,11 @@ clarify = [ { 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 = "test_util", expression = "MIT", license-files = [] }, { name = "voicevox_core", expression = "MIT", license-files = [] }, { name = "voicevox_core_c_api", expression = "MIT", license-files = [] }, + { name = "voicevox_core_java_api", expression = "MIT", license-files = [] }, + { name = "voicevox_core_macros", expression = "MIT", license-files = [] }, { name = "voicevox_core_python_api", expression = "MIT", license-files = [] }, { name = "xtask", expression = "MIT", license-files = [] }, ]